We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to get sticky nav working with sphinx_rtd_theme, but experiencing inconsistencies.
From what I can tell, if I add any toctree to a child doc, the sticky tree completely wipes and just sticks to the new toctree.
If I exclude a toctree in a child doc, the sticky nav works as expected.
An example dir/file tree:
- conf.py - index.rst - content/ - Foo1/ - index.rst - Foo2/ - index.rst - Bar/ - index.rst
Where:
Foo1
Foo2
Bar/index
I couldn't find much about sticky nav, so any additional tips would help. Eg, I have a vanilla toctree nav that would output:
- Foo1 - Foo2
Within Foo1, I have no toctree, so the "sticky" nav persists
Within Foo2, I have a toctree that would output:
- Bar
The output result is missing Foo1:
- Foo2 - Bar
What I was really was expecting was Foo1 to port over:
- Foo1 - Foo2 - Bar
content/Foo1/index.rst
======== Foo1 Service ======== This is a doc!
content/Foo2/index.rst
======== Foo2 Service ======== .. toctree:: Bar <Bar/index> This is a doc!
content/Foo1/Bar/index.rst
======= Bar Service ======= This is a doc!
Foo1 would persist throughout any child nav
The text was updated successfully, but these errors were encountered:
con đĩ mẹ tụi m thích láo lồn k hả mấy chó
Sorry, something went wrong.
đmm thích chơi ra chơi trc mặt vs t nè clm tụi m
No branches or pull requests
Problem
Trying to get sticky nav working with sphinx_rtd_theme, but experiencing inconsistencies.
From what I can tell, if I add any toctree to a child doc, the sticky tree completely wipes and just sticks to the new toctree.
If I exclude a toctree in a child doc, the sticky nav works as expected.
An example dir/file tree:
Where:
Foo1
, for example, would work with no toctree (the navbar persists consistently as expected)Foo2
, for example, would contain a toctree to includeBar/index
(the navbar ONLY shows Bar and nothing stickied)Output Examples
I couldn't find much about sticky nav, so any additional tips would help. Eg, I have a vanilla toctree nav that would output:
Within Foo1, I have no toctree, so the "sticky" nav persists
Within Foo2, I have a toctree that would output:
The output result is missing Foo1:
What I was really was expecting was Foo1 to port over:
Reproducible Project
content/Foo1/index.rst
content/Foo2/index.rst
content/Foo1/Bar/index.rst
Expected Results
Foo1
would persist throughout any child navEnvironment Info
The text was updated successfully, but these errors were encountered: