Browse documentation

Start here

OverviewYour first siteBuild and inspect your siteWrite useful documentationGlossaryTroubleshooting

Shape your site

ConfigurationAuthoring recipesSections and identityCustomize the home pageThemesCustom CSS (advanced)Machine-readable contractsVisual fixturesMathematics

Publish safely

Audit your documentationGitHub PagesPre-publish checklistHistorical documentationQualification evidenceMigration

Pascal and project internals

PasWeave integrationArchitectureArchitecture analysisProject specification (historical)

Project decisions

BoundariesHistory and customisationRelease-tag publicationReader-first documentationLocal syntax highlightingExisting-repository adoptionGitHub Pages setupDocumentation auditSimple configurationv1.0 stable contractDocSprout rebrand

Visual fixtures

The maintained project in examples/visual-fixtures exercises typography, ordered and nested lists, the full h1h6 heading and outline scale, typographic punctuation, inline code, definition lists, fenced Pascal, wide tables, callouts, search, theme controls, page navigation, a long document, the reading-progress indicator, responsive Markdown images and a home-page banner. Its checked-in docs/docsprout.json configures docs/assets/visual-fixture-banner.svg, so every fixture build includes the banner above the opening content without a manual file edit. The checked-in image is a 1200×240 SVG: a teal field with a light document mark and the words “Visual fixture”.

Build it locally:

$env:PYTHONPATH='src'
python -m docsprout build `
  --root examples/visual-fixtures `
  --output build/visual-fixtures

Open build/visual-fixtures/index.html, then verify this matrix. Browser content is expected to remain fully local and the console should have no errors or warnings.

ViewWidthChecks
Phone360px and 390pxNative navigation disclosure, visible copy control, no page overflow; oversized Markdown images stay within the prose column and small badges remain intrinsic
Tablet768pxSearch and controls wrap cleanly, readable table scrolling, responsive Markdown images
Narrow desktop1024pxArticle measure, heading rhythm and compact navigation remain balanced
Desktop1440pxSidebar, article and on-page outline align without crowding; oversized Markdown images stay within the prose column
Long document1024px or widerHeading rhythm, reading progress and sticky local navigation

At each useful width, switch among Classic, Paper and Midnight and repeat with Light and Dark. Use only the keyboard to focus search with /, move among results with Arrow keys/Home/End, close results with Escape, and tab through version, visual-theme and colour controls. Every focus indicator must be visible and every control must retain an accessible name.

The fixture sets layout.content_width to wide so table and code behavior is easy to inspect. The maintained minimal example uses compact; DocSprout’s own site uses the omitted comfortable default. Together, those checked-in builds cover the semantic width contract. The checked-in banner is the canonical visual banner state; use a separate temporary project when you need to inspect the optional no-banner default.

The fixture is also the maintained custom CSS example: its docs/assets/custom.css uses the documented --dk-* tokens, every built page loads it after DocSprout’s styles, and CI builds the fixture on every change, so the safe inclusion mechanism is always exercised.