Sphinx Devhelp Extension

2.0.0 · active · verified Sun Mar 29

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.

Warnings

Install

Imports

Quickstart

After installing the package, enable the extension by adding `sphinxcontrib.devhelp` to the `extensions` list in your Sphinx project's `conf.py`. Then, build the documentation using the `devhelp` builder. You might need to replace `doc/source` and `doc/build/devhelp` with your actual source and build directories.

# 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

view raw JSON →