Skip to content

Commit

Permalink
[conf] Upgrade to sphinxnotes-isso>=2.a1
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverRainZ committed Feb 14, 2025
1 parent c6dbfee commit f864f8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 2 additions & 11 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,17 +269,8 @@
if D.is_public():
extensions.append('sphinxnotes.isso')
isso_url = 'https://comments.silverrainz.me:30500'

from textwrap import dedent
# Require extensions 'sphinx_design'
rst_epilog += dedent("""
.. card:: 评论
如果你有任何意见,请在此评论。
如果你留下了电子邮箱,我可能会通过 :email:`[email protected]` 回复你。
.. isso::
""")
isso_include_patterns = ['**',]
isso_exclude_patterns = ['index', 'ronin/**']

if D.is_public():
extensions.append('sphinx_sitemap')
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sphinx-autobuild
sphinxcontrib.gtagjs
sphinxnotes-snippet
sphinxnotes-strike
sphinxnotes-isso>=1.2a0
sphinxnotes-isso>=2.a1
sphinx-sitemap
sphinxcontrib-plantuml
sphinxcontrib.asciinema
Expand Down

0 comments on commit f864f8e

Please sign in to comment.