Skip to content

ADR 0001: Use Starlight for project documentation

  • Status: accepted
  • Date: 2026-11-20

Each project needs a documentation website, published on GitLab Pages, in English and French. Which tool should we use to build it?

  • Markdown content, versioned with the code (docs-as-code)
  • Built-in search and good navigation for readers
  • Support for several languages, with a language picker
  • Maintained tool with a long future
  • Fits the current toolchain (Node.js, npm)
  • Starlight (Astro)
  • Docusaurus (React)
  • VitePress (Vue)
  • Zensical
  • Material for MkDocs
  • GitLab Wiki
  • Plain Markdown files in the repository

Chosen option: “Starlight”, because it meets all drivers, has built-in multi-language support, and is not tied to React or Vue, which we do not use.

  • Good: search, dark mode, accessibility and a language picker are built in.
  • Good: no new language: the toolchain is Node.js and npm.
  • Bad: one more tool to learn (Astro configuration).
  • Good: multi-language support with fallback to the default language.
  • Good: framework-agnostic, good accessibility.
  • Bad: younger ecosystem than Docusaurus.
  • Good: most mature, large ecosystem.
  • Bad: heavier, based on React.
  • Good: very fast and simple.
  • Bad: based on Vue, fewer ready-made features.
  • Good: successor of Material for MkDocs, reads mkdocs.yml.
  • Bad: very young, ecosystem still in progress.
  • Bad: end of life on 2026-11-05 (maintenance stopped).
  • Good: no setup.
  • Bad: lives outside the code repository and merge requests, so it gets out of date.
  • Good: no tool at all; GitLab renders Markdown and Mermaid.
  • Bad: no real website, no search, poor navigation for readers.