-
Notifications
You must be signed in to change notification settings - Fork 56
Implement improved API reference presentation in docs beta #225
Comments
Requirements:
In terms of search, Control+F is actually pretty reliable given that all our commands are on the same page. Search primarily becomes an issue when content is split across multiple pages. A couple of simple improvements we could make:
|
I think just judicious addition of expand-collapse could go a long way here. |
Yep. Note: I'd prefer a TOC over expanding/collapsing individual sections as the latter may break Ctrl+F. |
Another aspect to this that I would love to see, is that every API resource/command section header should be a linkable anchor, i.e. docs.ipfs.io/reference/api/http#add should like to |
Historical fact: It had a TOC and it was removed because it was effectively moved to the side-menu. +1 to keeping Ctrl+F working. They already have anchored links: https://docs.ipfs.io/reference/api/http/#api-v0-add. It's missing the anchor character thing that you can click to produce that link (but you can use the menu item). Anyway, that's an easy fix at: https://github.com/ipfs/http-api-docs |
Closing, since this issue has been consolidated into the overall effort for improving/automating API/CLI documentation in #393. Comments have been migrated there! |
Implement the means of presenting API reference materials that we decide upon in #339.
The text was updated successfully, but these errors were encountered: