Skip to main content

Add comments and annotation to your documentation.

Project description

Sphinx Comments

PyPI | Documentation

Add comments and annotation functionality to your Sphinx website.

Currently, these commenting engines are supported:

  • Hypothes.is provides a web overlay that allows you to annotate and comment collaboratively.
  • utteranc.es is a web commenting system that uses GitHub Issues to store and manage comments.
  • dokie.li is an open source commenting and annotation overlay built on web standards.

For examples of each service, as well as instructions for how to activate it, see the sphinx-comments documentation.

Contribute to Sphinx Comments

Sphinx Comments follows the Executable Books contributing guide.

Install for development

To install sphinx-comments for development, take the following steps:

git clone https://github.com/executablebooks/sphinx-comments
cd sphinx-comments
pip install -e .[testing,sphinx]

This will install the dependencies needed for development and testing.

Repository structure

Sphinx Comments is a lightweight Sphinx extension that activates several Javascript libraries for use within Sphinx. All of its functionality is contained in sphinx_comments/__init__.py.

As a general rule, Sphinx Comments tries to be as lightweight as possible. It simply:

  • Loads Javscript libraries for web commenting and annotation platforms
  • Provides a configuration layer for platforms that support it

Note that some of these platforms cannot be activated at the same time, users will need to choose one or the other.

Some of the annotation platforms require more complex setup - for example, utteranc.es requires its script to be placed in a specific location on the page, and so sphinx-comments will place it directly in the doctree of the page (underneath the content).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx-comments-0.0.3.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

sphinx_comments-0.0.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file sphinx-comments-0.0.3.tar.gz.

File metadata

  • Download URL: sphinx-comments-0.0.3.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

File hashes

Hashes for sphinx-comments-0.0.3.tar.gz
Algorithm Hash digest
SHA256 00170afff27019fad08e421da1ae49c681831fb2759786f07c826e89ac94cf21
MD5 61a30eaef740d402aa4147c2c662bc41
BLAKE2b-256 c0755bbf29e83eaf79843180cf424d0d550bda14a1792ca51dcf79daa065ba93

See more details on using hashes here.

File details

Details for the file sphinx_comments-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: sphinx_comments-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

File hashes

Hashes for sphinx_comments-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1e879b4e9bfa641467f83e3441ac4629225fc57c29995177d043252530c21d00
MD5 ca81512ae0be6f107a136e04375e18b5
BLAKE2b-256 2697a5c39f619375d4f81d5422377fb027075898efa6b6202c1ccf1e5bb38a32

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page