Sphinx Devhelp Extension
raw JSON → 2.0.0 verified Tue May 12 auth: no python install: verified
sphinxcontrib-devhelp is a Sphinx extension that generates Devhelp documents (a documentation format used by the GNOME desktop environment) alongside standard HTML documentation. It is currently at version 2.0.0 and typically aligns its major releases with those of Sphinx itself, ensuring compatibility with the latest Sphinx features and Python versions.
pip install sphinxcontrib-devhelp Warnings
breaking Version 2.0.0 (and Sphinx 2.0.0 which it follows) dropped support for Python 2.7, Python 3.4, and Docutils 0.11. This extension now requires Python >=3.9. ↓
fix Upgrade your Python environment to 3.9 or newer and ensure Docutils is up-to-date. If these are not possible, use an older version of `sphinxcontrib-devhelp` compatible with your environment.
breaking Prior to Sphinx 2.0.0, `sphinxcontrib-devhelp` was often bundled directly with Sphinx. With Sphinx 2.0.0 and later, it became a separate, explicitly installable package. ↓
fix Projects using Sphinx 2.0.0 or newer must explicitly `pip install sphinxcontrib-devhelp` as it is no longer included by default.
gotcha Generating Devhelp documents requires invoking the dedicated `devhelp` builder. Standard `html` builds will not produce Devhelp output. ↓
fix Use the command `sphinx-build -b devhelp path/to/source path/to/build/devhelp` or run `make devhelp` if you use a standard Sphinx Makefile.
gotcha After building, the generated Devhelp documents are not automatically registered with the Devhelp application. They need to be manually linked or placed in a specific directory for Devhelp to find them. ↓
fix Refer to the output message from the Devhelp builder (its 'epilog') for instructions, which typically involve creating a symlink: `mkdir -p $HOME/.local/share/devhelp/books && ln -s $PWD/path/to/build/devhelp $HOME/.local/share/devhelp/books/YourProjectName && devhelp`.
Install compatibility verified last tested: 2026-05-12
python os / libc status wheel install import disk
3.10 alpine (musl) wheel - 0.00s 18.6M
3.10 alpine (musl) - - 0.00s 18.6M
3.10 slim (glibc) wheel 1.6s 0.00s 19M
3.10 slim (glibc) - - 0.00s 19M
3.11 alpine (musl) wheel - 0.00s 20.4M
3.11 alpine (musl) - - 0.00s 20.4M
3.11 slim (glibc) wheel 1.6s 0.00s 21M
3.11 slim (glibc) - - 0.00s 21M
3.12 alpine (musl) wheel - 0.00s 12.3M
3.12 alpine (musl) - - 0.00s 12.3M
3.12 slim (glibc) wheel 1.4s 0.00s 13M
3.12 slim (glibc) - - 0.00s 13M
3.13 alpine (musl) wheel - 0.00s 12.0M
3.13 alpine (musl) - - 0.00s 11.9M
3.13 slim (glibc) wheel 1.5s 0.00s 13M
3.13 slim (glibc) - - 0.00s 12M
3.9 alpine (musl) wheel - 0.00s 18.1M
3.9 alpine (musl) - - 0.00s 18.1M
3.9 slim (glibc) wheel 1.8s 0.00s 19M
3.9 slim (glibc) - - 0.00s 19M
Imports
- sphinxcontrib.devhelp
extensions = ['sphinxcontrib.devhelp']
Quickstart last tested: 2026-04-24
# conf.py
# ... (other Sphinx configurations)
# Add 'sphinxcontrib.devhelp' to your extensions list
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinxcontrib.devhelp',
]
# Optional: Configure the basename for the Devhelp output
devhelp_basename = 'MyProjectDevhelp'
# Build from terminal
# In your Sphinx project's root directory:
# sphinx-build -b devhelp doc/source doc/build/devhelp