PaloAltoNetworks / docusaurus-template-openapi-docs

Docusaurus template for bootstrapping with docusaurus-openapi-docs
MIT License
9 stars 15 forks source link

Duplicated Petstore API docs #8

Open martyna-mindsdb opened 2 months ago

martyna-mindsdb commented 2 months ago

Hello, I have cloned this repository and started the docs by running yarn start without making any modifications to the code.

I noticed that the Petsore API docs are present in the Petstore API tab, which is ok (as marked in green rectangle below), but these are also present in the Tutorial tab under petstore item, which shouldn't be there (as marked in red rectangle below).

image

Please let me know how to remove the petstore item under the Tutorial tab. Thanks.

EDIT: I removed this duplicate item by setting the sidebars.ts file content manually, instead of generating it automatically from the docs folder.

sserrata commented 1 month ago

Hi @martyna-mindsdb, thanks for reporting. This is a result of when autogenerated sidebars overlap with the sidebar generated by the plugin.