cd /news/developer-tools/documentation-is-insurance-for-the-f… Β· home β€Ί topics β€Ί developer-tools β€Ί article
[ARTICLE Β· art-70414] src=github.com β†— pub= topic=developer-tools verified=true sentiment=Β· neutral

Documentation is insurance for the future

Synlace released a Starlight documentation scaffold that adds a searchable, themed documentation site to any project with a single command. The scaffold includes dark/light mode, full-text search, sidebar navigation, Mermaid diagrams, and mobile responsiveness, and is downloaded as a tarball from GitHub without submodules or build services.

read1 min views1 publishedJul 23, 2026
Documentation is insurance for the future
Image: source

Starlight documentation scaffold for any project.

One command to add a searchable, themed documentation site to your repo.

curl -fsSL https://github.com/synlace/project-docs/raw/main/init.sh | bash

To get the latest SHA, check the latest commit.

Example documentation site for Marlint, a real-time AI phishing detection browser extension.

project/
β”œβ”€β”€ project-docs/          # Starlight docs site
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ astro.config.mjs   # edit title, sidebar, social links
β”‚   └── src/content/docs/  # your documentation pages
β”‚       └── index.mdx
β”œβ”€β”€ justfile-doc            # just recipes (import into justfile)
└── justfile                # auto-created with import if missing
  • Dark / light mode
  • Full-text search
  • Sidebar navigation
  • Mermaid diagrams
  • Mobile responsive
  • Static HTML output ( npm run build

)

Once imported, run from your project root:

Command Description
just doc
Start dev server
just doc init
Install npm dependencies
just doc build
Build static site
just doc preview
Preview production build
just doc uninstall
Remove scaffold and import

The template is downloaded as a tarball from GitHub. No submodules, no npm publishing, no build service. Each project owns its project-docs/

directory β€” edits config, writes content, commits everything to its own repo.

The template is a starting point, not a dependency. To pull in config improvements later:

SHA=$(curl -fsSL https://api.github.com/repos/synlace/project-docs/commits/main | python3 -c "import sys,json; print(json.load(sys.stdin)['sha'][:7])")
diff -rq project-docs/ <(curl -fsSL "https://github.com/synlace/project-docs/archive/$SHA.tar.gz" | tar -xz --strip-components=1)

Cherry-pick what you want.

── more in #developer-tools 4 stories Β· sorted by recency
── more on @synlace 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/documentation-is-ins…] indexed:0 read:1min 2026-07-23 Β· β€”