PaloAltoNetworks / docusaurus-openapi-docs

🦝 OpenAPI plugin for generating API reference docs in Docusaurus v2.
https://docusaurus-openapi.tryingpan.dev
MIT License
561 stars 193 forks source link

Ensure sidebars.ts and schemas are properly cleaned #817

Closed sserrata closed 3 weeks ago

sserrata commented 3 weeks ago

Description

Motivation and Context

See #811 for background. Concerning schemas, I observed the schemas directory was left behind after the schemas MDX files were cleaned. Instead of attempting to first clean the MDX files followed by the container directory, I opted to perform a recursive removal of the entire directory.

How Has This Been Tested?

Tested locally using example API specs.

github-actions[bot] commented 3 weeks ago

Visit the preview URL for this PR (updated for commit c655fb9):

https://docusaurus-openapi-36b86--pr817-jfv6g8g0.web.app

(expires Wed, 05 Jun 2024 14:43:07 GMT)

🔥 via Firebase Hosting GitHub Action 🌎