Skip to content

Commit a51f174

Browse files
committed
Add Disqus support
1 parent cad7606 commit a51f174

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

doc/source/conf.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
# Add any Sphinx extension module names here, as strings. They can be
3131
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3232
# ones.
33-
extensions = ['sphinx.ext.autodoc']
33+
extensions = [
34+
'sphinx.ext.autodoc',
35+
'sphinxcontrib.disqus',
36+
]
3437

3538
# Add any paths that contain templates here, relative to this directory.
3639
templates_path = ['ytemplates']
@@ -164,5 +167,4 @@
164167
'Miscellaneous'),
165168
]
166169

167-
168-
170+
disqus_shortname = 'lsnknowledgebase'

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ sphinx # BSD
55
doc8 # Apache-2.0
66
sphinxmark # Apache-2.0
77
sphinx_rtd_theme
8+
sphinxcontrib-disqus

0 commit comments

Comments
 (0)