Skip to content

Commit

Permalink
Re-organizing API documentation collections (#169)
Browse files Browse the repository at this point in the history
* Re-organizing API documentation collections

These changes make it a bit more manageable to collect our various
API specifications into a single navbar item in our docusaurus site.
With the upcoming addition of the Hubble information, this will
ease the implementation, and make things a bit more uniform.

- I've included some nginx rewrites that I _think_ will do the
  correct redirections from any old URLs to the new ones.
- There is now a single `API` dropdown menu item in the site's
  navbar, instead of having separate navbar links for all the
  various APIs, we can now collect them under a single button.
- The `DocSidebar` component has been swizzled to allow us to keep
  the "category" of API used in the breadcrumbs, but to not
  clutter the sidebar with extra (and unnecessary) links.

* Some updates to the anchor-platform openapi output
* Fixing some broken links
* Fixing the `/api/horizon` redirect with a negative lookahead. got myself into a redirect loop there.
* Including `anchor-platform` in the negative lookahead
* Changind dropdown menu text `API` -> `APIs`

---------

Signed-off-by: Elliot Voris <[email protected]>
  • Loading branch information
ElliotFriend authored Jul 6, 2023
1 parent 7632d0a commit 19b1dce
Show file tree
Hide file tree
Showing 296 changed files with 631 additions and 564 deletions.
55 changes: 0 additions & 55 deletions ap_api/callbacks/gen-address.api.mdx

This file was deleted.

Loading

0 comments on commit 19b1dce

Please sign in to comment.