This repository contains the documentation Markdown source files for useboomerang/docs.
The main
branch will be automatically accessible along with any releases.
Releases are tagged with the version number matching a release and prefixed with the product. For example [email protected] or [email protected].
Markdown metadata is used to generate the documentation site: table of contents, breadcrumbs, and other navigation elements.
This is based on the Remix Docs Template and its content requirements.
Please see the CONTRIBUTING.md file for more information on how to contribute to this repository.
To update the API docs, run the following commands along with the API spec (currently stored in flow/apis/assets/spec.json
):
npx openapi-generator-cli generate -i ./flow/apis/assets/spec.json -g markdown -o ./tmp --skip-validate-spec -t ./flow/apis/assets/templates/ --api-name-suffix 'Route'
mv ./tmp/README.md ./tmp/overview.md
find ./tmp/Apis -type f -exec mv {} ./tmp/ \;
find ./tmp/*.md -type f -exec mv {} ./flow/apis/ \;
find ./tmp/Models/*.md -type f -exec mv {} ./flow/apis/models/ \;
rm -rf ./tmp
npm install @openapitools/openapi-generator-cli -g
When writing the Java code, make sure to add the summary and description for each method, they are key to the generated API documentation.
- Add a script to automatically generate the API docs and update the
flow/apis/docs
folder. - Implement an MDX version so that the {{requestBodyExamples}} can be added within a code block element. Future reference
This repository is licensed under the Apache License, Version 2.0.