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_zhaojiedi-0.0.8.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_comments_zhaojiedi-0.0.8-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_comments_zhaojiedi-0.0.8.tar.gz.

File metadata

File hashes

Hashes for sphinx_comments_zhaojiedi-0.0.8.tar.gz
Algorithm Hash digest
SHA256 18bef7ecc63b9325d41f1393377c6e1272aed8402e4acaae5b2f4b492f3f5baa
MD5 c4e54e36e0b1a859b83e10825c1a6c92
BLAKE2b-256 3539e71ae1775a252feda6017d72d79f4d477e490316440d7cccc60c950c5bbe

See more details on using hashes here.

File details

Details for the file sphinx_comments_zhaojiedi-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_comments_zhaojiedi-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d8e3376c9da1ae959c7994fd98e27a4a9f9452afdc1178923f7858fc3f36e203
MD5 0186efbce2e6b80ceb5588ef86563014
BLAKE2b-256 dccde3dfe3094ccc1b0fa4c115f4f0aa09b6bb853a38d79c979752e6a113403a

See more details on using hashes here.

Supported by

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