-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Description
Description
I may have complained about this several times, but I really hate how our doc navigation works. You have to click a parent page, wait for it to load, and then check out the child pages.
this is super slow and it sometimes shifts the UI up and down
other products’ docs have a way to let people expand/collapse quickly to navigate.
What we want is that the drop-down carat expands/collapses the drop-down without loading the page.
We currently need to refresh the page on-click, because we can't generate the whole nav for every page on our docs.
if you remember, introducing detailed API reference pages blew up the number of documents we have on our docs and having a full nav for every single document means that we incur docs build times of about 40-60 minutes, which is infeasible for readthedocs.com (and frankly for us, too).
we've gone through several options many times, and within the standard sphinx ecosystem there's not much we can do here, unfortunately.
what we can do for sure is to separately generate a LHS nav bar and embed it at runtime. this would not work with vanilla sphinx, but would instead be a rather invasive/custom procedure.
Link
No response