Installation
This section assumes installing docusaurus-protobuffet in an existing Docusaurus project. For those without an existing project, you can use docusaurus-protobuffet-init to scaffold a Docusaurus project with this preset installed.
NOTE: These commands should be run from your Docusaurus project directory.
Install this preset.
Generate a JSON representation of your Protobuf files. This depends on the protoc-gen-doc compiler plugin. Find details and installation steps in the usage section.
Add the preset to your project's docusaurus.config.js file. View the configuration section for all available options.
Invoke the CLI command generate-proto-docs to generate your MDX doc files.
Update your docusaurus.config.js to link to your new documentation from the navbar. You will need to configure one of the generated doc files as the route. A homepage will be introduced to replace this in the future.
Boot up your Docusaurus server to view the new Protobuf documentation space.