Skip to main content

Document your Nix code with Sphinx

UA2.118 (Henriot) | Day 1 | 17:55 - 18:15 | Speakers: Rémi (minijackson)

Document your Nix code with Sphinx
A picture of a devroom at FOSDEM 2024
Open in browser

Notes

Abstract

Introducing sphinxcontrib-nixdomain! A plugin for the Sphinx documentation generator that takes your Nix code and generates documentation for NixOS options, Nix packages, and Nix functions.

This talk shows how to set up sphinxcontrib-nixdomain for your project, how to generate documentation for Nix objects, and how to add cross-references to those Nix objects.

We'll also go over the benefits the Sphinx documentation system provides when used with this plugin.

Resources:


Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.