-
Notifications
You must be signed in to change notification settings - Fork 16
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
Sidebar navigation tweaks #35
Comments
A lot of this could be handled by tocbot I think. All you need are IDs on the headings and it takes care of the rest. And once the sidebar is following you as you scroll, it might be ok to have all levels open/displayed. Also might be able to flatten it all somewhat - it seems a bit arbitrary why some content is a child page and some isn't. Limiting the number of levels would be good... https://tscanlin.github.io/tocbot/ Agree about the bold parent elements -- makes them seem more important than equal but childless headings, and so the hierarchy doesn't scan well. I'm happy to look at the SCSS file, or take a deep dive into the overall content structure -- not sure if someone else is already on top of those things. |
We already have an autogenerated TOC in the right sidebar that works similar to tocbot - I meant this topic to be about the navigation in the left sidebar :) Any content that should or should not be broken up into separate pages, we can definitely do that and issues/PRs about the specific pages you think should (not) be combined would be more than welcome. The content is in modxorg/Docs, in markdown. The sass is in this repository, in |
I was talking about the left nav too. Had not really noticed the right one! What is the thinking behind having two? Is it possible to combine all functions to the left? Seems confusing to have two TOCS, and on different sides of the content. Just thinking out loud... |
Left is navigation (e.g. sitemap), right is table of contents for current page. |
Having this would be very much appreciated! |
The sidebar navigation is looking sharp, but a bit cluttered as we have so much content.
I'm thinking that to improve it, we should:
Could also style it more like accordions, but I don't think that fits the current style all that well.
The text was updated successfully, but these errors were encountered: