- Install
asyncapi/generator
npm install -g @asyncapi/generator
- Install this plugin.
pip install mkdocs-asyncapi-plugin
- Add
render_asyncapi
tomkdocs.yml
:
plugins:
- render_asyncapi
Create a new markdown file which contains only this line:
!!asyncapi <path-to-spec-file>!!
path-to-spec-file
is the path to the AsyncAPI spec file relative to the root of the repository (where you run mkdocs
).
Then, the entire content of this file will be the AsyncAPI spec.