rinx

rinx is a Rust re-implementation of (a subset of) the Sphinx documentation generator, built to be a first-class Bazel build step rather than an external tool wrapped by one. It turns reStructuredText into an HTML site with cross-references, toctree navigation, syntax highlighting, math and diagrams, and it models requirements and other project-specific constructs the way sphinx-needs does.

This site is itself built by rinx, from the docs/ directory of its repository.

Note

rinx is early and pre-1.0. The rule and CLI interfaces may still change between minor versions. Supported syntax lists what is supported today.

Why

A Sphinx build is a single process: it re-reads the whole project and decides for itself what is out of date. rinx splits the work into small, deterministic steps (parse, index, render), each of them a separate Bazel action. So:

Contents

More