Why We Designed TigerBeetle's Docs from Scratch
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.
Related posts
- Bun v1.3.8
Bun mediumAdept
Bun v1.3.8 adds Bun.markdown, a built-in CommonMark-compliant Markdown parser written in Zig as a port of md4c. It can render to HTML, to custom output through per-element JavaScript callbacks, or directly to React elements, with GFM extensions enabled by default. bun build gains a --metafile-md option that writes a Markdown report of the bundle's module graph, intended for analyzing bundle size and dependencies with LLMs. Bug fixes cover napi_typeof misreporting functions under AsyncContextFrame, HTTP/2 stream state that broke gRPC streaming with DEADLINE_EXCEEDED, node:vm SyntheticModule crashes, and npm install failures on Windows.
- How to build a static site with Lume
Deno mediumAdeptLume, 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. The site is deployed to Deno Deploy through a GitHub Actions workflow that runs `deno task build` and serves the `_site` output with deno_std's file_server.ts, or a custom serve.ts when Lume middleware is needed.
- Build better software to build software better
Slack Engineering mediumAdeptSlack 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. A dependency edge from the built Python backend into the TypeScript frontend build zeroed the cache hit rate and cost about 35 minutes per build. The team untangled build code from application code, rewrote orchestration in Starlark, cut Python build scripts down to the standard library only, and used a Rust diffing tool to verify the new artifacts matched the old ones. The core lesson is that Bazel's caching and parallelism only pay off once the build graph is acyclic, well-defined and finely granular.
- Deno 1.38: HTML doc generator and HMR
Deno mediumAdeptDeno 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. Other additions are an unstable `--unstable-hmr` hot module replacement that patches modules in place, bring-your-own npm/pnpm `node_modules` support, `--env` for loading .env files, and RFC 8441 WebSockets over HTTP/2. A new precompile JSX transform serializes static HTML into string arrays at compile time instead of allocating objects per element, giving 7-20x faster server-side rendering and about 50% less GC time. The release also includes V8 12.0 and a faster `structuredClone`.
- DRUIDS, the design system that powers Datadog
Datadog Engineering easyNoviceDRUIDS (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. Adoption across hundreds of designers and front-end developers depends on making the system easy to understand, implement and contribute to. Supporting tooling includes Cmd+K search, an in-app "Loupe" that highlights components with links to GitHub, Figma and VS Code, editable playgrounds and a sandbox treating React/TypeScript/CSS code as the source of truth, API tables auto-generated from component source, contribution guidelines, and a CLI that scaffolds new components.