-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Theme: Display categories atop each API page
This improves mobile browsing, where we hide the sidebar. Previously, the sidebar was the only way to know (by eye) which category the current page belong to, and the only way to browse the other pages in the same category. Now, with the "Categories" output, the categories are mentioned explicitly, and on mobile people can click those to browe the category tree and navigate to other nearby pages. This is also helps with Typesense, which this way has an easy way to find what the name of the category is for the current page. This is inspired by the jQuery API docs which have had this kind of category indication since 2015, and is indexed by Algolia using the same mechanism.
- Loading branch information
Showing
5 changed files
with
47 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters