Skip to content

docs(book): organise the book in Diataxis form and split the longest pages by task - #6704

Merged
rubentalstra merged 13 commits into
mainfrom
docs/book-information-architecture
Nov 26, 2026
Merged

rubentalstra merged 13 commits into
mainfrom
docs/book-information-architecture

Conversation

@rubentalstra

@rubentalstra rubentalstra commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

This PR gives the book the Diátaxis structure and splits the longest pages by task.

Structure. The SUMMARY has six parts: Tutorials; How-to guides: integrate; How-to guides: deploy and operate; Reference; Explanation; Compliance. introduction.md becomes a landing page. Its table sends four readers to their first pages: integrators, clinician-facing app builders, operators and decision makers. No file moves, so every published address stays. The viewer pages stay under viewer/, inside the deploy-and-operate part.

Splits. No page outside the compliance record now runs past about 900 lines.

Was Lines Now
operational-policy.md 2,649 operational-policy.md (policy parties), caller-facts.md, access-policy.md, policy-examples.md
security.md 1,509 security.md, access-control.md, pseudonymisation.md
audit.md 1,566 audit.md, access-log.md, ehds-logging.md, audit-integrity.md
operations.md 1,323 operations.md, database-operations.md, storage-sizing.md, upgrades.md
installation/config-auth.md 1,405 config-auth.md, config-authz.md, config-scim.md
installation/kubernetes.md 1,432 kubernetes.md, kubernetes-security.md, kubernetes-integrations.md

Sections moved whole and were not rewritten. A script rewrote every link into a moved section, from any directory, to point at its new page. Each source page keeps a short pointer section where other pages link to its old headings (security.md#authorization, #the-pseudonymisation-boundary). docs-claims.sh checks chart values on database-operations.md and upgrades.md too.

Checked locally after merging main: the site builds; lychee --offline --include-fragments over the whole dev site finds 0 errors in 12,848 links, so every anchor resolves; mdbook-lint reports no error beyond the generated includes; docs-claims.sh --all passes on 115 pages; conformance-numbers.sh passes.

This PR is stacked on #6681, which is ahead of it in the merge queue. The storage-sizing self-test now reads storage-sizing.md.

Closes #6672

Emergency access is a justification of the access policy, never a
configuration key or a role; the audit category map's shipped_map is a
field of the audit-categories register; the go-live checklist sets only
keys [audit] has and points audit retention at ACCESS_POLICY.log_retention;
the Codespaces sandbox runs PostgreSQL 19; and the party-binding
breaking-changes page, which described an issuer shape the server refuses,
is deleted with a redirect to the party-binding page.
How FerroEHR decides access sets out the parties and their relationships,
token roles beside demographic grants, the patient's EHR_ACCESS settings,
the controller's ACCESS_POLICY, purpose of use, consent and justified and
emergency access, care relationships, the legal marks, and the decision of
one request with its refusal codes, read from access_eval, access_policy,
party_binding and the ITS-REST access layer. Security drops its copy of the
step table and a stale upgrade note, and the pages that described the model
in parts link to it.
…ng page

The SUMMARY groups the pages into tutorials, how-to guides for integrating
and for deploying and operating, reference, explanation and the compliance
record, and the introduction routes integrators, clinician-facing app
builders, operators and decision makers to their first pages. No file moves,
so every published address stays.
The policy parties stay on Operational policy; roles, care relationships
and representatives, the access policy with the admin registers, and the
worked examples each get a page of their own, and every link into a moved
section points at its new page.
Security, Audit trail, Operations, Authentication & access and Kubernetes &
Helm each become a short page with the rest in pages of their own, so no
page outside the compliance record runs past about 640 lines. Every link
into a moved section is rewritten to its new page, and docs-claims checks
the chart values on the two new operator pages too.
The stale-numbers gate refuses a hand-typed timing in a site source.
…-architecture

# Conflicts:
#	website/book/src/SUMMARY.md
#	website/book/src/installation/kubernetes.md
#	website/book/src/installation/party-binding-migration.md
#	website/book/src/operational-policy.md
@rubentalstra rubentalstra added the documentation Docs-only work. Maps to a docs/ branch and a docs: commit. label Nov 26, 2026
The sizing section moved to storage-sizing.md, so the guard that checks the
book names the measurement command reads that page.
@rubentalstra
rubentalstra marked this pull request as ready for review November 26, 2026 14:22
The policy examples are on Worked policy examples and the party mapping
blocks on Authorization keys, so the two tests that run the book's examples
read those pages.
…-architecture

# Conflicts:
#	website/book/src/SUMMARY.md
@rubentalstra
rubentalstra removed this pull request from the merge queue due to a manual request Nov 26, 2026
…-architecture

# Conflicts:
#	website/book/src/SUMMARY.md
#	website/book/src/care-relationships.md
#	website/book/src/explanation/access-model.md
#	website/book/src/installation/config-auth.md
#	website/book/src/security.md
@rubentalstra
rubentalstra added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit ea14ad1 Nov 26, 2026
66 checks passed
@rubentalstra
rubentalstra deleted the docs/book-information-architecture branch November 26, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Docs-only work. Maps to a docs/ branch and a docs: commit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Organise the book in Diátaxis form with an audience landing page

1 participant