Documentation-Only Sites

Create standalone documentation sites and blogs with fastship — no Python package required

Background

While fastship is great for authoring Python, Rust, Zig, and npm packages, you can also use it to build standalone documentation sites, books, and blogs with no pyproject.toml or library code at all.

Create a standalone site:

ship-new my-site --kind site
cd my-site
ship-preview

This creates a minimal ship.toml at the repository root and ship/index.md under ship/ (set ship-path = "." in ship.toml if you prefer root-level pages). Add Markdown (.md), executable .qmd, Jupyter notebooks (.ipynb), RenderScripts (*.md.py), images, and CSS under ship/, then run ship-docs to build into _docs/ (or ship-pages to configure GitHub Pages with AnswerDotAI/workflows/ship-docs@master).

Configuring navigation and directory defaults

By default, subdirectories become nested sidebar sections ordered by explicit order:, numeric filename prefixes (00_, 01_), then title. Add a dir/index.md with YAML frontmatter (title, order, toc: false, etc.) to configure a section — an empty body creates a metadata-only section with no extra landing page. Set sidebar-links in ship.toml to specify a single reading order shared by both the website sidebar and llms.txt.