-
-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Make documentation more browsable with ToC #4801
Comments
I agree there should be a nice table of contents somewhere in the docs to help with navigation. |
I'd prefer a TOC on the side if its a full TOC. To me, that is more out of the way and can hold more information. Looking at Bokeh's example, it looks like sections (rather than a full TOC) are listed at the top that stay in place as you scroll. This isn't bad either for a quick way to access different sections. |
On a desktop using Firefox, Bokeh's TOC is on the side (or perhaps I misunderstood you). |
Great, I will look more closely! I agree that having a convenient way to navigate to different sections would be very useful. |
Ah, yes, I browse docs on a portrait-orientation monitor and Bokeh's flying TOC isn't shown in my configuration. I'm still confused, though, as your original issue description asks for a flying TOC but also says that "A non flying table of content would also simplify browsing the documentation." These sites already have a non-flying TOC, so I'm unsure what potential simplification you're referring to here. Was that just confusingly stated, and the real request is then "I would like to have a flying TOC for HoloViz docs pages to help me better navigate within each page" (given that the overall site navigation is already covered by the TOC on the left site)? |
There is no ToC of webpages (there is for the whole site though). Composing Elements for example has 4 |
If you just want those subheadings to show up on the TOC on the left, I believe that's as simple as changing the |
I can see this flying webpage ToC on the right hand side was included in three different parts of the sphinx documentation in Bokeh (id is My request is rather:
In both cases I would leave the web site ToC unchanged. Of course if the |
All I can note is that Bokeh uses a customized vendored version of the "pydata" sphinx theme: https://github.com/pydata/pydata-sphinx-theme Customized and vendored because we were very early adopters and it was missing some features we needed at the time. But it's had lots of work and updates since then and we are meaning to move over to the official theme package soon. |
I wanted to see what I could do. But the doc Makefile includes another Makefile that disappeared in a 2014 commit. Not sure where to go from there. |
We aren't using any makefiles that I'm aware of, so presumably that's just hanging around (though I'd be reluctant to delete it without checking!). The steps for building docs are listed in .github/workflows/docs.yml. |
We've previously had this note at the top of pages, and people kept missing it. They would go to a certain spot in the page that looked interesting, play with the example and then report that the example was broken (or, worse, assume the tool was buggy and give up on it). We definitely need a flying warning like that on any pages that have content that works in a notebook or server context but not on a web page. It's conceptually fine to combine that note with a flying TOC, but I don't know how that would work at the code level. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Problem statement
It concerns all holoviz projects but I'm posting here as I believe holoviews is the core project. I spend a considerable amount of time on various holoviz documentations (hvplot, holoviews and panel). Navigating on each is not simple as a table of content is lacking.
Describe the solution you'd like
Bokeh's documentation has a flying table of content. This would be the best solution to me.
Describe alternatives you've considered
A non flying table of content would also simplify browsing the documentation.
Additional context
See e.g. https://docs.bokeh.org/en/latest/docs/user_guide/data.html#userguide-data with the flying ToC.
The text was updated successfully, but these errors were encountered: