Generate html and pdf documentation:
mvn generate-resources
Documentation is generated under target/generated-docs
folder
Serve documentation on local http server:
mvn jetty:run
then open the browser to http://localhost:8080
To maintain consistency across the documentation, please follow these naming conventions:
All documentation files should use lowercase naming with hyphens between words:
- ✅
lowercase-with-hyphens.adoc
- ❌
CamelCase.adoc
- ❌
UPPERCASE.adoc
- ❌
snake_case.adoc
Document anchors should also use lowercase with hyphens:
[[anchor-id-example]]
== Section Title
Cross-references should use the lowercase anchor IDs:
See the <<anchor-id-example,related section>> for more information.
The documentation includes automated validation to ensure consistency and correctness.
Run the documentation validator locally:
python docs-validator.py
This validator checks:
- File naming conventions (lowercase with hyphens)
- Anchor naming conventions (lowercase with hyphens)
- Cross-reference validity (all references point to existing anchors)
- Orphaned pages (pages not referenced by other pages)
The documentation validator runs automatically on GitHub when changes are pushed or pull requests are created. This ensures that documentation standards are maintained consistently.