Skip to content

0044: The website is the README and docs/, built with MkDocs Material

  • Status: Accepted (owner, 2026-11-28)
  • Date: 2026-11-28

Context

Couchdogs needs a public face (a landing page) and readable docs before it goes public. The docs already live in the repo as Markdown, written for GitHub, and the README is now a product page. A second copy of either would drift.

Decision

The site is built from the repo with MkDocs Material (mkdocs.yml): the README is the home page, docs/ the docs, plus CONTRIBUTING.md and the client's README. website/hooks.py brings those files in and rewrites their GitHub-relative links; links to code go to the file on GitHub. Working notes (docs/superpowers/, docs/upstream-drafts/) are left out. site.yml builds it with --strict on every change and publishes to GitHub Pages once the repo is public. Turned down: a hand-made landing page (a second copy of the README), Docusaurus or Hugo (a JavaScript or Go toolchain for plain Markdown), the GitHub wiki (not reviewed with the code).

Consequences

A doc change shows on the site with no extra step; a broken link fails the site build. Material is in maintenance mode upstream (its authors moved to Zensical, which reads mkdocs.yml), so a move later is small. The site can take couchdogs.com as a Pages custom domain.