Add Disqus comments to your Sphinx documents.
sphinxcontrib-disqus provides a
needed by Disqus. A working example is shown at the bottom of this page.
When generating Sphinx documents locally and browsing to a
file:// URL, comments won’t load. This is because the
you’re on (in this case it’s
A simple workaround when you’re writing docs locally (this isn’t an issue once you host your documentation on a web server or service such as Read the Docs) is to view your HTML files through a simple web server. You can fire one up easily running these commands (tested on OS X) after building your HTML files:
python -m SimpleHTTPServer 8080
- Browse to http://localhost:8080/