ADR 0001: Use Starlight for project documentation
Ce contenu n’est pas encore disponible dans votre langue.
- Status: accepted
- Date: 2026-11-20
Context and Problem Statement
Section titled “Context and Problem Statement”Each project needs a documentation website, published on GitLab Pages, in English and French. Which tool should we use to build it?
Decision Drivers
Section titled “Decision Drivers”- 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)
Considered Options
Section titled “Considered Options”- Starlight (Astro)
- Docusaurus (React)
- VitePress (Vue)
- Zensical
- Material for MkDocs
- GitLab Wiki
- Plain Markdown files in the repository
Decision Outcome
Section titled “Decision Outcome”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.
Consequences
Section titled “Consequences”- 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).
Pros and Cons of the Options
Section titled “Pros and Cons of the Options”Starlight
Section titled “Starlight”- Good: multi-language support with fallback to the default language.
- Good: framework-agnostic, good accessibility.
- Bad: younger ecosystem than Docusaurus.
Docusaurus
Section titled “Docusaurus”- Good: most mature, large ecosystem.
- Bad: heavier, based on React.
VitePress
Section titled “VitePress”- Good: very fast and simple.
- Bad: based on Vue, fewer ready-made features.
Zensical
Section titled “Zensical”- Good: successor of Material for MkDocs, reads
mkdocs.yml. - Bad: very young, ecosystem still in progress.
Material for MkDocs
Section titled “Material for MkDocs”- Bad: end of life on 2026-11-05 (maintenance stopped).
GitLab Wiki
Section titled “GitLab Wiki”- Good: no setup.
- Bad: lives outside the code repository and merge requests, so it gets out of date.
Plain Markdown files
Section titled “Plain Markdown files”- Good: no tool at all; GitLab renders Markdown and Mermaid.
- Bad: no real website, no search, poor navigation for readers.