sphinxcontrib-devhelp

A Sphinx extension that renders documentation into the GNOME Devhelp format.

Library
PyPI
v2.0.0
3stars
BSD-2-Clause

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
24/100Needs Attention
Development Activity0
Maintenance20
Community16
Maturity60
Momentum0

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
70/100Good
Architecture70
Code Quality74
Innovation60
Learning Curve78

sphinxcontrib-devhelp is a Sphinx extension that provides a builder for outputting documentation in the GNOME Devhelp help format. Devhelp is an API documentation browser for GTK and GNOME, and this extension lets Sphinx projects produce help files that integrate with it.

Once a bundled part of Sphinx, it was extracted into the sphinxcontrib namespace so it can be versioned and maintained independently while remaining an official component of the Sphinx documentation toolchain.

What You Get

  • A Sphinx builder that emits documentation in the GNOME Devhelp format
  • Seamless integration with the standard Sphinx build pipeline
  • An independently versioned package within the official sphinxcontrib namespace

Common Use Cases

  • Shipping GTK or GNOME project documentation for the Devhelp browser
  • Providing offline, indexed API docs to Linux desktop developers
  • Adding a Devhelp output target to an existing Sphinx documentation set

Under The Hood

Architecture

The extension lives under the sphinxcontrib/devhelp namespace package and registers a DevhelpBuilder via Sphinx’s setup entry point. The builder subclasses Sphinx’s standalone HTML builder, then serializes the resolved doctree and index into Devhelp’s gzipped XML structure during the build.

Tech Stack

Pure Python built on the Sphinx and docutils APIs, packaged with a modern pyproject.toml declaring a BSD-2-Clause license. It uses Babel for message catalogs and tox for multi-environment testing.

Code Quality

Despite its small size, the package ships a pytest suite (tests/test_devhelp.py with a shared conftest) and a GitHub Actions workflow, reflecting the engineering standards of the broader Sphinx project. The code is a thin, stable builder that changes rarely.

API Design

For end users the experience is trivial — enable the extension and run sphinx-build with the Devhelp target; there is essentially no API to learn. Its narrow, single-purpose design means little configuration, though it is only relevant to teams targeting the Devhelp ecosystem.

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search