This repository hosts a copy of the documentation maintained on the Ubuntu discourse under the Anbox Cloud > Documentation category. This is predominantly the source for updating Anbox Cloud documentation and is published to Anbox Cloud documentation via discourse to enable community feedback and engagement.
- The following checks are run automatically before every commit:
- Inclusive language checks (
woke) - Spellcheck (
spellcheck) - Link checker that verifies if discourse links are used for all internal links (
anbox-cloud-docs-links-checker)
- Inclusive language checks (
- Install the
pre-commitpackage from the Ubuntu repositories. - Install the
aspellandaspell-enpackages from the Ubuntu repositories. This is required by the spellchecker. - Navigate to the top-level directory of this repository and run
pre-commit install --install-hooks.
- To disable the pre-commit hook, use
--no-verifywhen runninggit commit. - To skip a particular pre-commit check, prefix
SKIP=<pre-commit-hook-name>when runninggit commit. - To allow a valid word that is regularly used in the documentation but is flagged by
spellcheck, add the word to.wordlist.txt. - In special cases, there are ways to avoid a particular file or text from being flagged by
woke. See woke user guide.