Tips for Custom Sidebars

Okay my little excursion down the custom sidebar’s with nbdev/pages has taught me a few things that may be useful:

  1. If you want to have a listed subsection, you must have an initial page at the top, something like:
superpage
  > Subsection 1
    > Introduction
    > ""
      > "My Subsection Name"
        > "Page A

This will give you a page 3 layers deep

  1. Listed subsections must be after all the individual pages. So you can’t have a listed subsection, one page, then more subsections. That will break. IIRC I think those were most of the headaches I had. If you get an error relating to Bad Indention of a Sequence it has to do with the above
3 Likes

Listed subsections must be after all the individual pages

How is “after” actually controlled?