Serve one reader need per page
Rule prose-scope.mixed-content-types in the Prose scope category.
| Field | Value |
|---|---|
| Kind | judgement |
| Severity | suggestion |
| Scope | document |
Profile strict |
enforced |
Profile normal |
advisory |
Profile relaxed |
excluded |
Message
Section titled “Message”mixed content types: split the page so each page serves one reader need
Split the page by content type and link the pages to each other.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”A tutorial page that has a "How to deploy" section with its own steps.Rewrite:
The tutorial page ends with a link to a separate how-to page that holds the deploy steps.Note: split: the deploy steps belong in a how-to page
Example 2: kept as written
Section titled “Example 2: kept as written”A reference page that ends with a one-line link to the matching how-to.Reason: a cross-link is not a second content type
Provenance
Section titled “Provenance”Diátaxis documentation framework