Contributing to the docs
This folder contains the source for the Initializer for Apache Maven™ technical documentation (GitHub Pages).
Structure
index.md— Landing page and entry point.architecture.md— High-level architecture overview (no implementation details).adr/— Architecture Decision Records (ADRs) in Markdown.
The site is built with MkDocs and the Material for MkDocs theme. Configuration is in the repository root: mkdocs.yml.
Building locally
From the repository root:
pip install mkdocs-material "pymdown-extensions"
mkdocs serve
Then open http://127.0.0.1:8000 .
Publishing
The .github/workflows/docs.yml workflow:
- Push to
main: Builds and deploys the site to the production URL (root). - Pull request: Builds and deploys a preview to
/pr/<number>/and comments the preview URL on the PR.
Ensure GitHub Pages is enabled and set the source to Deploy from a branch → branch: gh-pages, folder: / (root).