More TOC options (to integrate in-page TOC into the global TOC & make global TOC's top-level items link to article) #3815
Labels
closed: duplicate
This issue or pull request already exists in another issue or pull request
feature
This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
🚀 Features
Options to add:
Have you read the Contributing Guidelines on issues?
Yes
Motivation, pitch and other comment
These options allow more customization, so users who want to have similar TOC as in those documentation sites and generators I mentioned could do it.
I was about to mention 4 TOC-related options in this proposal/request. Then I found two of them (which I think more crucial than the other two I mentioned above) have already been posted in #2700 and #2220 (both are open).
I think an ideal design is that my proposals 1 and 2 could work together with #2700, #2220 and other existing TOC options, so user could fully control what to include in TOC and where to put them.
For example, my option 1 proposed could make the headache in #2220 less painful. (#2220: in V2, no way to view the in-page headings TOC in mobile screen. There are already a hamburg button for top menu and another hamburg button for global TOC, should we add a third for in-page headings TOC? If we are able to integrate in-page headings TOC into the global TOC (which is my option 1), there will be at most two hamburg buttons. And to add my option 1, it looks like my option 2 will have to be enabled)
Yes, these features will require some work but just put them into the (long-term) to do list maybe.
The text was updated successfully, but these errors were encountered: