Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Example: add API catalog style with multiple sidebars #57

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adamaltman
Copy link
Member

@adamaltman adamaltman commented Jan 26, 2021

This PR links the 3 thin tiles on the home page of the portal to different APIs. Each API has been given its own sidebar. On the other hand, it would be possible to put them all on the same sidebar:

all-apis:
  - page: openapi/demo.page.yaml
  - page: openapi/demo-parameters.page.yaml
# etc...

This demonstrates different styles.

Notice one has "expand: false" in the settings -- this means it will have a single page style.

Notice in the sidebar, one has the /*. This shifts the APIs inside of the definition one group in the navigation.

@RomanHotsiy RomanHotsiy changed the title docs: add API catalog style with multiple sidebars Example: add API catalog style with multiple sidebars Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants