Confusing demo for path specification #511
Replies: 1 comment
-
Hi @rojakcoder, the demo implements Docusaurus "docs-only mode" which is which sets the base path to
Although |
Beta Was this translation helpful? Give feedback.
-
Hi @rojakcoder, the demo implements Docusaurus "docs-only mode" which is which sets the base path to
Although |
Beta Was this translation helpful? Give feedback.
-
In the demo site (https://docusaurus-openapi.tryingpan.dev/petstore/add-pet), the API documentation resides in the path
/petstore/add-pet
.I can't tell from the demo configuration file how this path is specified:
And in this demo configuration, the
outputDir
specifies thedocs
directory which is used by the @docusaurus/plugin-content-docs plugin (outputDir: "docs/petstore"
). Does this imply that the generated files need to be in the same folder as theplugin-content-docs
plugin?However, in the documentation, the example shows an output that is
outputDir: "api/petstore"
What is the desirable ouput directory for the generated API docs?
Beta Was this translation helpful? Give feedback.
All reactions