Docs site¶
The detailed view of a building block of 5.1; its summary is 5.2.17.
| Aspect | Detail |
|---|---|
| Role | the public website of this private repository: the public part of docs/, the README with the docs index as its home page, and each plugin's README as its page under Plugins |
| Interfaces | the site in a browser, on GitHub Pages under the repository's custom domain; the build hooks and the gate in scripts/ci, run by the CI checks' pages workflow (CI checks) |
| Code | docs; the site's configuration at the root; its hooks, checks, gate and pinned requirements in scripts/ci; their tests in scripts/tests |
| Decided by | ADR 0006 (docs/adr/0006-public-docs-site.md), proposed, whose working default (MkDocs with the Material theme on GitHub Pages, behind the gate) runs; #709 (plugin pages), #712 (the owner's login masked), #880 (the home page) |
| Deployment | built and checked on a GitHub-hosted runner, published to GitHub Pages (7.1.4) |
| Status | built |
| Part | Role |
|---|---|
| The publish list | names each public folder and file; everything else stays private, a new folder too, until a reviewed pull request adds its line |
| The build hooks | the home page from the README and the docs index; a page per plugin README; a link that leaves the site rendered as its path; the owner's login shown as <owner> |
| The checks | the Markdown lint, the strict build, the hook tests and the site check, which compares the built site with the publish list in both directions |
| The gate | the gate's selftest, then gitleaks, TruffleHog and the privacy check over the built site and its page text; the deploy runs only when every step passed |
The steps of a publish: 6.5; the rules of each step: ci/checks.md.