-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[conf] Upgrade to sphinxnotes-isso>=2.a1
- Loading branch information
1 parent
c6dbfee
commit f864f8e
Showing
2 changed files
with
3 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters