---
title: "Why We Designed TigerBeetle's Docs from Scratch"
description: "TigerBeetle replaced its Docusaurus docs site with a custom static site generator built on Zig's build system and Pandoc."
url: "https://swe.quest/articles/why-we-designed-tigerbeetle-s-docs-from-scratch-671fe3cbec15ed75"
canonical: "https://tigerbeetle.com/blog/2025-02-27-why-we-designed-tigerbeetles-docs-from-scratch"
source: "TigerBeetle"
published: "2025-02-27"
difficulty: "medium"
kind: "Case study"
reading_minutes: 14
tags: ["zig","build-systems","documentation","supply-chain-security"]
---

# Why We Designed TigerBeetle's Docs from Scratch

A post on [TigerBeetle](https://swe.quest/sources/tigerbeetle.md), published 2025-02-27, 14 min read, Case study. Original: [https://tigerbeetle.com/blog/2025-02-27-why-we-designed-tigerbeetles-docs-from-scratch](https://tigerbeetle.com/blog/2025-02-27-why-we-designed-tigerbeetles-docs-from-scratch)

## Summary

TigerBeetle replaced its Docusaurus docs site with a custom static site generator built on Zig's build system and Pandoc. The move was driven by a zero-dependency policy, the wish to keep the docs as pure GitHub-flavored Markdown, and better search. Zine was ruled out because its SuperMD dialect is incompatible with GFM. A walkthrough builds a minimal prototype: Pandoc is pulled in as a lazy, content-hashed dependency via build.zig.zon, and each Markdown-to-HTML conversion is modeled as a cached build step. That design yields incremental rebuilds, parallelism and \`zig build --watch\` live reload for free.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Zig](https://swe.quest/tags/zig.md) (Languages)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)
- [Documentation](https://swe.quest/tags/documentation.md) (Engineering practices)
- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)

## Prerequisites

- Markdown
- Basic Zig syntax ([easy posts on Zig](https://swe.quest/tags/zig.md?difficulty=easy))
- Build system concepts ([easy posts on Build systems](https://swe.quest/tags/build-systems.md?difficulty=easy))

## Keywords

TigerBeetle, Zig build system, Pandoc, Docusaurus, Zine, build.zig.zon, GitHub-flavored Markdown

## Related posts

- [Bun v1.3.8](https://swe.quest/articles/bun-v1-3-8-bd013a73cb7a1400.md): Bun · 2026-01-29 · Medium · 3 min read · JavaScript, Runtimes & VMs, Build systems, React
  Bun v1.3.8 adds Bun.markdown, a built-in CommonMark-compliant Markdown parser written in Zig as a port of md4c.
- [How to build a static site with Lume](https://swe.quest/articles/how-to-build-a-static-site-with-lume-03f00be9f04a60ba.md): Deno · 2022-12-07 · Medium · 7 min read · Frontend, JavaScript, CI/CD, Deployment
  Lume, a Deno-based static site generator, can produce a blog either from the prebuilt "Simple blog" theme or from scratch using Markdown posts, Nunjucks layouts in \_includes, directory-level \_data.yml variables, and a TypeScript index page that lists posts via the search helper.
- [Build better software to build software better](https://swe.quest/articles/build-better-software-to-build-software-better-5c6078f2e1d6c4da.md): Slack Engineering · 2025-11-06 · Medium · 17 min read · Build systems, Developer productivity, CI/CD, Refactoring & migrations, Caching
  Slack cut the 60-minute build pipeline for Quip and Slack Canvas's backend by applying classic software engineering principles (hermetic, idempotent, granular units of work and clean separation of concerns) before adopting Bazel.
- [Deno 1.38: HTML doc generator and HMR](https://swe.quest/articles/deno-1-38-html-doc-generator-and-hmr-3f3ea5622c742f10.md): Deno · 2023-11-02 · Medium · 18 min read · JavaScript, TypeScript, Runtimes & VMs, Documentation, Performance engineering
  Deno 1.38 adds \`deno doc --html\` for generating static, rustdoc-style documentation sites, with multi-entrypoint support, a Rust symbol graph and a \`--lint\` mode that flags missing docs, missing return types and unexported types.
- [DRUIDS, the design system that powers Datadog](https://swe.quest/articles/druids-the-design-system-that-powers-datadog-7348e64421a4e6f1.md): Datadog Engineering · 2022-09-29 · Easy · 7 min read · Design systems, Frontend, React, Developer productivity, Documentation
  DRUIDS (Datadog Reusable User Interface Design System) was started in 2018 to keep UX patterns consistent as Datadog grew into dozens of products, and its docs site is now public.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
