The docs.tilo.so website, built from the tilo repository's Markdown https://docs.tilo.so
  • CSS 46.2%
  • Astro 34.5%
  • TypeScript 9.5%
  • Shell 7.9%
  • JavaScript 1.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
qwolff f90210b3c0
The grain covers the whole page instead of the viewport
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 05:29:20 +00:00
ci Render the books with tilo's tools/docs/book.ts 2026-11-24 04:57:19 +00:00
k8s Build, publish and deploy the site with t 2026-11-23 22:16:55 +00:00
public Add the docs.tilo.so site, built from the tilo repository's Markdown 2026-11-23 13:57:27 -08:00
src The grain covers the whole page instead of the viewport 2026-11-24 05:29:20 +00:00
.gitignore Build, publish and deploy the site with t 2026-11-23 22:16:55 +00:00
astro.config.mjs Render the books with tilo's tools/docs/book.ts 2026-11-24 04:57:19 +00:00
bun.lock Render the tilolang and developer books, from tilo's exports, as the whole site 2026-11-23 22:31:43 +00:00
nginx.conf Build, publish and deploy the site with t 2026-11-23 22:16:55 +00:00
package.json Render the tilolang and developer books, from tilo's exports, as the whole site 2026-11-23 22:31:43 +00:00
README.md Render the books with tilo's tools/docs/book.ts 2026-11-24 04:57:19 +00:00
t.toml The site build knows its commit, for version.txt 2026-11-24 00:00:37 +00:00
tsconfig.json Add the docs.tilo.so site, built from the tilo repository's Markdown 2026-11-23 13:57:27 -08:00

Tilo documentation site (docs.tilo.so)

Open-source documentation site for Tilo. It publishes books exported from the tilo/tilo repository; the page list and the Markdown come from the book, never from this repository.

bun install
TILO=/path/to/tilo TILO_BOOKS=../books/docs-tilolang:../books/docs-developers bun run dev
TILO=/path/to/tilo TILO_BOOKS=../books/docs-tilolang:../books/docs-developers bun run build

TILO_BOOKS is one or more book directories separated by :. The first book is shown first on the home page and in the sidebar. TILO is the tilo checkout the books were exported from: the pages render with its tools/docs/book.ts. A build without either fails with a message saying so.

Exporting a book

The books are written by tools/docs/developer_docs.py in tilo/tilo:

tools/docs/developer_docs.py export --manifest docs/tilolang/pages.toml \
  --out ../books/docs-tilolang --at https://docs.tilo.so/tilolang/
tools/docs/developer_docs.py export --out ../books/docs-developers \
  --manifest docs/developers/pages.toml --at https://docs.tilo.so/developers/

--at publishes the book at this site's address, so the links inside it point here rather than at the book's own origin. Each book directory holds manifest.json (sections, pages, titles, descriptions and source links) and pages/<id>.md.