-
Notifications
You must be signed in to change notification settings - Fork 483
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
Add table of content for a specific page on the right side #1688
Comments
For future reference: there is discussion about this in #1563, including a simple mockup of the TOC. |
@logankilpatrick Hi, However i would like it to include all possible links.
P.S: i need some time to go through the implementation on how the documenter works. |
Hmm, I was glancing at #1715 and I noticed that this actually duplicates what we already have. The current TOC shows the |
Yeah, I am not sure, it just seems like wasted valuable space right now |
Hi, iirc originally i had thought of 3 ways of solving this,
And since we were discussing about having a right TOC, If need be, we can implement this in left TOC, P.S: I'm not sure if that answers the questions you were addressing. |
I don't think we want add more stuff into the left sidebar, so if we're going to have additional information there, then I think it should go on the right. It is also an option to consider removing the I think right now the main thing is to clearly decide what exactly should go into the sidebar on the right. Regarding the Base > Filesystem example: we currently distinguish between the headings on a page (at-contents block) and the docstrings on a page (at-index block). Since we already have those blocks though, should we think of the right sidebar to essentially be a out-of-page version of one of those, or even a combination of those? |
Second this. i recall this being a problem while implementing the right TOC,
getting it to work on mobile would require some redesigning but once we have the organization part
i'm not sure i follow. |
What I meant is that since we have the two at-blocks ( |
The first version uses the contents of https://docs.ruby-lang.org/en/3.2/IO.html The style of the python devguide documentation looks good. |
Separating them seems like a good idea, either by having them one after another, or maybe as two tabs of the right sidebar. But also, yes, for an MVP, I think it's fine to focus on just at-contents. |
I have been reading through: https://code.visualstudio.com/docs and absolutely love that the right side shows a highlight of the page. I feel like it would be pretty straightforward and helpful to pick up on the headers from the page and show them on the top right, especially since the space is not utilized anyway.
The text was updated successfully, but these errors were encountered: