Skip to main content

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).

Metadata

Release files for sphinx-comments-zhaojiedi 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinx-comments-zhaojiedi 1.0.4
File Size Uploaded
sphinx_comments_zhaojiedi-1.0.4.tar.gz 10.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-comments-zhaojiedi 1.0.4
File Interpreter ABI Platform
sphinx_comments_zhaojiedi-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 15.2 kB

Release files / sphinx_comments_zhaojiedi-1.0.4.tar.gz

Download URL sphinx_comments_zhaojiedi-1.0.4.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4976fe0f7c6efdb186a8e00a0820b086a44b066a1a9e29d05be969c4585e9321
BLAKE2b-256 checksum
How to use checksums
aa42e6be12f0c505dab1c99b779add9aaf53bc36c9eb5cf1de165a4bf7cc61d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / sphinx_comments_zhaojiedi-1.0.4-py3-none-any.whl

Download URL sphinx_comments_zhaojiedi-1.0.4-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e2620c145780c85307c8eef0c768322e847ab417af516f066a7b78ab85bebb1
BLAKE2b-256 checksum
How to use checksums
b0e888d22e7dc0d89a8985ab72198c6a58c4339d1d9da0e8035939da88b1c6d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.1

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page