Sphinx HTML Help Builder

2.1.0 · active · verified Sun Mar 29

sphinxcontrib-htmlhelp is a Sphinx extension that generates HTML Help files (CHM) from reStructuredText sources. It is currently at version 2.1.0 and is actively maintained, receiving updates frequently, often in sync with Sphinx core releases.

Warnings

Install

Imports

Quickstart

After installing the package, enable the extension by adding `'sphinxcontrib.htmlhelp'` to the `extensions` list in your Sphinx project's `conf.py` file. Then, build your documentation using the `htmlhelp` builder.

# 1. Install the extension
# pip install sphinxcontrib-htmlhelp

# 2. In your Sphinx project's conf.py file, add 'sphinxcontrib.htmlhelp' to the extensions list:
# conf.py
# ...
extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.napoleon',
    'sphinxcontrib.htmlhelp'
]
# ...

# Optionally, configure HTML Help specific options (e.g., the output basename):
htmlhelp_basename = 'MyProjectDoc'

view raw JSON →