-
Notifications
You must be signed in to change notification settings - Fork 1
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
Better navigation for documentation modules #2
Comments
@andy-hanson there's an easier solution, I think, but I'm not sure if it will fit you. Did you consider making left navigation scrollable? |
I think that would be better than the way it is now. I think the best solution would be to do both. |
If you don't need to handle complex cases, simple search can be implemented without any library. It only needs an array of objects I wanna try to take on these issues. |
It's late so here's the quick explanation:
|
So you want to programmatically manipulate DOM, i.e. add input element and search for specific doc page, group doc pages by sections, all using client-side js, is that right? |
I'm ambivalent whether the navigation is generated on the server or on the client -- if the changes to make aren't too great it may be simpler to continue doing it on the server. I think the different doc pages for each module should still be separate HTML documents with separate URLs, though. |
Looks good! If you need any help with the rest, I'll be monitoring https://gitter.im/crow-lang-org/community . |
At https://crow-lang.org/doc, the left navigation bar has a line for every module in the standard library. This makes the page too tall.
I think the solution is to have a collapsed section for each directory (probably using details).
I'm ambivalent about whethere there is recursive nesting where
crow/io/net/
goes insidecrow/io/
, or if it's just its own section.The text was updated successfully, but these errors were encountered: