Documentation for Cloud v2.
The docs are written in markdown using MkDocs.
The docs are automatically built & deployed when pushing to the main branch and the docs are available on cloud.incendo.org.
Each PR will deploy a temporary preview version of the site.
You can install MkDocs by using
$ python3 -m pip install -r docs/requirements.txtand then you may run MkDocs locally using
$ python3 -m mkdocs serveafter which the docs will be available at http://127.0.0.1:8000/.
The built site will auto-refresh when the files are updated.
We use prettier to validate the files when building the project. It is recommended that you install prettier and run it when you make changes. You can find instructions here.
You may also install prettier & husky using npm, which will also add a pre-commit hook which formats the files for you:
$ npm installthen you may run prettier using:
$ npx prettier . --writeThe code directory contains a Gradle project with compiled examples.
Snippets from these docs are used in the examples using the {{ snippet("File.java") }} macro.
The project will be built by the CI pipeline to validate that the snippets compile.