Skip to content

Commit f864f8e

Browse files
committed
[conf] Upgrade to sphinxnotes-isso>=2.a1
1 parent c6dbfee commit f864f8e

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

conf.py

+2-11
Original file line numberDiff line numberDiff line change
@@ -269,17 +269,8 @@
269269
if D.is_public():
270270
extensions.append('sphinxnotes.isso')
271271
isso_url = 'https://comments.silverrainz.me:30500'
272-
273-
from textwrap import dedent
274-
# Require extensions 'sphinx_design'
275-
rst_epilog += dedent("""
276-
.. card:: 评论
277-
278-
如果你有任何意见,请在此评论。
279-
如果你留下了电子邮箱,我可能会通过 :email:`[email protected]` 回复你。
280-
281-
.. isso::
282-
""")
272+
isso_include_patterns = ['**',]
273+
isso_exclude_patterns = ['index', 'ronin/**']
283274

284275
if D.is_public():
285276
extensions.append('sphinx_sitemap')

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sphinx-autobuild
1111
sphinxcontrib.gtagjs
1212
sphinxnotes-snippet
1313
sphinxnotes-strike
14-
sphinxnotes-isso>=1.2a0
14+
sphinxnotes-isso>=2.a1
1515
sphinx-sitemap
1616
sphinxcontrib-plantuml
1717
sphinxcontrib.asciinema

0 commit comments

Comments
 (0)