When i run the gen-api-docs command, it correctly creates the docs and the sidebar.ts file.
When i run the clean-api-docs command, it correctly deletes the docs but it does not delete the sidebar.ts file.
Expected behavior
Running the clean-api-docs command should also delete the sidebar.ts file.
Current behavior
The sidebar.ts file remains after executing the clean-api-docs command.
If I change the sidebar extension to .js and run the clean-api-docs, it deletes it correctly.
Context
Run yarn docusaurus gen-api-docs all to generate documentation and the sidebar.ts.
Describe the bug
When i run the gen-api-docs command, it correctly creates the docs and the sidebar.ts file. When i run the clean-api-docs command, it correctly deletes the docs but it does not delete the sidebar.ts file.
Expected behavior
Running the clean-api-docs command should also delete the sidebar.ts file.
Current behavior
The sidebar.ts file remains after executing the clean-api-docs command.
If I change the sidebar extension to .js and run the clean-api-docs, it deletes it correctly.
Context
Context
These is how i have the plugin configured:
I would like to periodically update the specPath URL and automate the documentation regeneration process by using the following script:
If the clean-api-docs works correctly, it would avoid me deleting the sidebar.ts manually before running the docusaurus gen-api-docs.
Thanks for the help on this! :) Awesome project.
Your Environment
Plugin Version: 3.0.0-beta.10 Docusaurus Version: 3.2.1 Node.js Version: 18.13.0