Skip to content

Commit a8d7338

Browse files
fvarruiclaude
andcommitted
ADR-005: which branch a docs change goes to
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 247bcdd commit a8d7338

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.minispec/decisions/ADR-005-docs-site-docusaurus-github-pages.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ The user documentation is a Docusaurus site in `docs/` (pages in `docs/content/`
1414

1515
## Consequences
1616

17-
- Docs are changed in `devel` with the code, and reach the site when `devel` is merged into `main` (a fix to the docs alone can be merged earlier).
17+
- Which branch a docs change goes to:
18+
- It documents something not released yet (a new property, a fix in `devel`): commit it in `devel` with the code; it reaches the site when `devel` is merged into `main` at the next release.
19+
- It applies to the released version (a correction, an example, the apps list): commit it in `main`, which deploys the site, then merge `main` into `devel`. Never merge `devel` into `main` just for docs: it would bring the `-SNAPSHOT` version and unreleased code.
1820
- `.github/workflows/docs.yml` builds the site on `devel` and pull requests (broken links fail the build) and deploys it from `main`.
1921
- A new property or behaviour is documented in `docs/content/` (conventions), checked against the code, with Maven and Gradle syntax.
2022
- The site documents only the latest release; users of older versions rely on the release notes.

0 commit comments

Comments
 (0)