-
Notifications
You must be signed in to change notification settings - Fork 43
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
Content Structuring #203
Comments
Wonderful, you have created your first issue for clean-jsdoc-theme. Someone will talk to you soon! |
We do have hierarchical menu (but only one level deep. In
Also, we have a super convenient/smart search, which kind of remove the dependency of using sidebar. We do have option to add and excluded section from the sidebar: https://github.com/ankitskvmdam/clean-jsdoc-theme#sections |
That's sad to hear, IMHO it does not. First, you have to know what you are looking for in order to be able to search. Check
We probably misunderstood each other, I meant to have a completely separated, custom set of documentation in its own menu, documented 'separately', but yet, be allowed to follow the smart links. Basically running jsdoc with several definitions of
Yeah, menu levels can get pretty deep. But the other option is to have a linear list of useless names one can search through only using Ctrl+F. But I guess such flexibility is even out of JSDoc's abilities. A different option would be to build separated documentation for each of those modules and plugins, but I would need to allow a custom smart link navigation from any plugin to any module, from any module to any other module, and from all to the core system. Would this be somehow possible? |
the search feature is very useful and is the main reason i want to use this instead of tbf this is a hole in jsdoc itself but it really would make this theme perfect if it helped plug that hole :) |
I wanted to add this feature on to the VideoJS docs website. videojs/video.js#8893 explain the issue in detail. Not being able to have I would be willing to help to get this feature out and about but I am not sure on where to start. Could anyone point me to the right direction here. Thank you! |
@rashadatjou That's great! you need to start from here: https://github.com/ankitskvmdam/clean-jsdoc-theme/blob/master/publish.js#L421 We are using this function to build the sidebar. Also, we had this feature upto v3.3.0 for reference you can take a look at this function: https://github.com/ankitskvmdam/clean-jsdoc-theme/blob/v3.3.0/publish.js#L563 Thanks! |
Is your feature request related to a problem? Please describe.
Lovely theme, but I am missing structuring options, or at least I didn't find any. For a lot of content, the menu might become too cluttered. Also, what about documenting different parts of the system?
Describe the solution you'd like
I would like to have the option to create hierarchical menus so that when I have nested namespaces, these would appear nested (under an expandable super menu for example) under their parent.
I am also having multiple abstractions ('plugins' ~ apps, 'modules' ~ libraries) and I would like to have them documented too within the page, but with separate menu, something like
With Modules* and Plugins* are essentially different
source
s, sets of scripts documented separately, possibly with references to the default, 'main' set of scripts (context) or with references across all the sets (contexts). Plugins can naturally use Modules and all of them use the main interfaces...Describe alternatives you've considered
Modules and different 'taxonomies' in jsdoc.
Is there something like this possible? Thank you.
The text was updated successfully, but these errors were encountered: