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

Build and inspect your site

docsprout serve is the fastest way to read your site while writing. Use docsprout build when you want the static files: a folder you can archive, upload to any static host, or inspect without the preview server.

Build once

docsprout build

The build validates the configuration first, then writes the complete site to build/docs-site and prints the page count. The output is offline-ready: every asset is local, and index.html opens directly in a browser.

OptionEffect
--output <folder>Write somewhere else, such as dist/site. DocSprout marks generated folders with .docsprout-site and refuses to replace a folder it does not own.
--release <name>Set the release label shown on the home page. Without docs/versions.json, the default label is preview; with a manifest, the default is its current release.
--root <folder>Build a project in another folder instead of the current one. Every command accepts --root; the maintained visual fixture uses it in its build recipe.
--offline-archive <file.zip>Also write a deterministic ZIP of the site plus a .sha256 sidecar file.

Ship a ZIP

docsprout build --release 1.2.0 --offline-archive dist/docsprout-docs-1.2.0.zip

The archive stores the built pages under docsprout-docs-<release>/ with fixed metadata, so building the same content twice produces byte-identical files. The ownership marker is not included. The sidecar ...zip.sha256 records the digest for verification.

Build every release

When docs/versions.json exists, docsprout build-all builds the current documentation and every declared historical release into one site, each under its own path. The historical documentation guide covers the release order, and docsprout check-release validates the manifest first.

Start with doctor

docsprout doctor inspects the project without changing files. Its output is a plain list:

Use it before serve, build or github-pages to confirm the shape of the project. The troubleshooting guide maps its messages to fixes.

Fix the most likely failures