-
Notifications
You must be signed in to change notification settings - Fork 318
move api reference navigation to sidebar #2423
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
Conversation
I really like this as a visual update. It feels like it adopts and stenghtens the conventions about showing hierarchy around the docs site It also lends itself well to having an intro explanatory page for each section which is present in the sidebar nav too. |
This feels SO much cleaner and more logical. Q: Should the sidebar highlight the active section for All [Deno|Node|Web] Symbols as it does with other sections and in prod? (It doesn't currently, and feels like it should if possible. (See https://deno-docs-4f1c2gr361t7.deno.dev/api/deno/all_symbols) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
The API reference sidebar feels ugly and clunky, I've moved it over to the left hand sidebar and grouped the three "sections" under one menu
I have also moved each of the 'api landing pages' that are currently in runtime/reference/ into the api reference section, so, for example
https://docs.deno.com/runtime/reference/deno_namespace_apis/ becomes https://docs.deno.com/api/deno/
I've also made the accordions collapse when a different accordion is expanded and now the sidebar will scroll to the correct position when a page is loaded to show the 'active' link in the browser viewport.
Old:

New:
