Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headings and toctree children mixing in left sidebar nav #182

Open
theletterf opened this issue Sep 6, 2021 · 0 comments
Open

Headings and toctree children mixing in left sidebar nav #182

theletterf opened this issue Sep 6, 2021 · 0 comments

Comments

@theletterf
Copy link

I'm using the Alabaster theme with Sphinx 4.1.0. When I create a page like the following, with the toctree on top...

.. toctree::
   :hidden:
  
   page1
   page2
   page3

Heading1
==============================

Some text

...the heading links appear underneath the toctree items in the nav, like this:

Title of the page
     page1
     page2
     page3
     Heading1

If I put the toctree at the end of the page, the toctree item become children of the heading before:

Title of the page 
     Heading1
          page1
          page2
          page3

Other times put the headings in a separate in-page ToC layer, usually to the right side. That's not available in Alabaster, but then again, is there a way of properly showing the toctree children pages as subpages instead than in-page ToC headings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant