Combine autogenerated sidebar with a plugin-generated sidebar? #11186
Unanswered
frederictriquet
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi, Best regards, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using an "autogenerated" sidebar for my whole site.
I'm also using the docusaurus-openapi-docs plugins to generate pages from an openapi file.
The plugin also generates a
sidebar.ts
file to group endpoints by tags.How can I mix properly the autogenerated sidebar and the one generated by the plugin?
Using only this:
processes the files generated by the openapi plugin, ignoring the
sidebar.ts
. Thus the endpoints are not in the desired order/tree structure.Using:
almost works: the Petstore sidebar is included but the
./docs/petstore/
directory is also processed.Is there a way to exclude the
./docs/petstore/
from the automatic generation?Best regards.
PS: for reasons I won't explain here, I really need to use the automatic generation of the sidebar (manually writing the whole sidebar is not a solution).
Beta Was this translation helpful? Give feedback.
All reactions