sphinx-comments
Add comments and annotation to your documentation.
What it is and what it does
Sphinx Comments is a lightweight Sphinx extension that embeds JavaScript-based commenting and annotation platforms into your documentation. It acts as a configuration layer that loads and activates third-party services—Hypothes.is for collaborative web annotation, utteranc.es for GitHub-backed comments, or dokie.li for open-source annotation overlays—without implementing commenting itself. The extension handles platform-specific requirements like script placement in the page structure.
The package is designed to be minimal: it loads JavaScript libraries and provides configuration options for the platforms you choose. Most platforms cannot be activated simultaneously, so you select one per site. Setup complexity varies by platform; utteranc.es, for example, requires specific script placement that the extension manages automatically.
Use it for:
- Enable reader annotations and highlights on published Sphinx documentation using Hypothes.is.
- Add GitHub-backed issue-based comments to your docs via utteranc.es integration.
- Activate open-source annotation overlays on documentation pages using dokie.li.
- Allow collaborative discussion and feedback on technical documentation without building a custom backend.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates third-party commenting and annotation services into Sphinx-generated documentation sites.
No. The project is abandoned (last release 2020-08-12, last commit 2023-05-03) with no active maintenance. While the MIT license is permissive and install friction is low, you cannot rely on compatibility with current Sphinx versions or assurance that embedded third-party services remain functional. For new projects, evaluate maintained alternatives or integrate commenting services directly.
Install
sphinx-comments on PyPI
pip
pip install sphinx-commentsuv
uv add sphinx-commentspoetry
poetry add sphinx-commentsInstalling sphinx-comments
Before you install
Low install friction—pure Python wheel with only Sphinx as a runtime dependency. However, the project is abandoned: last release was 2020-08-12 and last commit 2023-05-03, with no active maintenance.
License in practice
MIT License (permissive) imposes no significant restrictions on use or redistribution.
Quickstart
pip install sphinx-comments
In conf.py:
extensions = ['sphinx_comments']
Configure one of: hypothes.is, utteranc.es, or dokie.li per the documentation.
Requires Sphinx as a runtime dependency; compatibility with current Sphinx versions is unverified given the project's abandonment.
Verify before relying
- Compatibility with recent Sphinx versions (last release predates current Sphinx ecosystem by years).
- Whether the embedded JavaScript libraries (Hypothes.is, utteranc.es, dokie.li) remain functional and maintained.
- Support for modern Python versions and whether Python version constraints exist.
Package facts
| License | MIT License (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — sphinx |
| Maintenance | abandoned — 2,193 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 203,218/month — #9,634 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sphinx_comments-0.0.3-py3-none-any.whl
Tags
More Sphinx packages
Parses Python docstrings in ReST, Google,…
permissive · top 1,000 on PyPI
SphinxSphinx generates professional documentation…
permissive · top 1,000 on PyPI
sphinxcontrib-serializinghtmlA Sphinx extension that outputs documentation…
permissive · top 1,000 on PyPI
alabasterAlabaster is a clean, responsive Sphinx theme…
permissive · top 1,000 on PyPI
sphinxcontrib-htmlhelpA Sphinx extension that generates HTML help…
permissive · top 1,000 on PyPI
sphinxcontrib-qthelpA Sphinx extension that converts documentation…
permissive · top 1,000 on PyPI
sphinxcontrib-googleanalyticsAdds Google Analytics tracking to…
permissive · top 15,000 on PyPI
sphinxcontrib-websupportProvides a Python API to integrate…
permissive · top 5,000 on PyPI
sphinxcontrib-mermaidEmbeds Mermaid diagrams (flowcharts, sequence…
permissive · top 5,000 on PyPI
swagger-plugin-for-sphinxA Sphinx plugin that embeds interactive Swagger…
permissive · top 5,000 on PyPI
linuxdocSphinx-doc extensions and command-line tools…
agpl · top 15,000 on PyPI
sphinxcontrib-autoyamlA Sphinx extension that auto-generates…
permissive · top 15,000 on PyPI
sphinx-autodoc-typehintsAutomatically extracts Python type hints from…
permissive · top 5,000 on PyPI
recommonmarkEnables Sphinx and Docutils projects to parse…
permissive · top 5,000 on PyPI
sphinx-inline-tabsAdds tabbed content blocks to Sphinx…
permissive · top 15,000 on PyPI
readthedocs-sphinx-searchA Sphinx extension that adds real-time…
permissive · top 15,000 on PyPI