add table of contents to application manifest reference
michelleN opened this issue · 6 comments
The manifest reference has a lot of great content. A table of contents would help me more easily search for the thing I'm looking for. https://developer.fermyon.com/spin/v2/manifest-reference
Hi @michelleN
The manifest reference (and all other pages) have a Table of Contents (ToC) in place.
However, the rendering cuts out the table of contents below a specific screen size.
This is a great catch, @michelleN - we need to ensure that the page's ToC is visible from 1024 x 1366 and above (i.e. iPad Pro), not just on Desktop dimensions.
Please see the screen captures (browser and code sample) below which shows how the ToC is actually formed (the ToC follows the page's heading layout/hierarchy).
It might be the case of smaller screen widths not displaying the ToC.
Fair enough @karthik2804
@michelleN are we ok to close this one?
If you would like to render the ToC on your screen size please let us know the dimensions and I will see if we can tweak the cutoff point for ToC rendering on smaller screens.
We must ensure that the right hand side ToC (that shows the sections/headings of the page where it is displayed) works on smaller screens; MacBook laptops at a minimum (perhaps larger tablets also).
@flynnduism Can you and I collaborate on a fix for this please?
We can fix not before the v3_ToC work is finalized and it will just automatically come across to the new site (because of the way we have designed the v3_ToC migration scripts).
I did some research on similar documentation sites and it appears that the right-hand-side page-specific ToC should render to as low as (and including 1024 x 1366) which is the iPad Pro dimensions.