Skip to content

Commit b9ed727

Browse files
committed
[conf] Simplify
1 parent 3456f76 commit b9ed727

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

conf.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
'sphinx_copybutton',
5454
'sphinxcontrib.youtube',
5555
'sphinxnotes.extweb',
56+
'sphinx_design',
57+
'sphinx_simplepdf', # .. pdf-include::
5658
]
5759

5860
# Add any paths that contain templates here, relative to this directory.
@@ -175,7 +177,7 @@
175177
# documentation.
176178
html_extra_path = ['robots.txt', 'LICENSE']
177179

178-
# -- Pre extension configuration ---------------------------------------------------
180+
# -- Per-extension configuration ---------------------------------------------------
179181

180182
extensions.append('sphinxnotes.mock')
181183
mock_directives = []
@@ -248,8 +250,6 @@
248250
'c': ['man/.*'],
249251
}
250252

251-
extensions.append('sphinx_design')
252-
253253
if D.is_public():
254254
extensions.append('sphinxnotes.isso')
255255
isso_url = 'https://comments.silverrainz.me:30500'
@@ -351,9 +351,6 @@
351351
# Speed up local build (prevent read git timestamp).
352352
extensions.append('sphinx_last_updated_by_git')
353353

354-
# For .. pdf-include:: directive.
355-
extensions.append('sphinx_simplepdf')
356-
357354
if D is D.Local:
358355
# Speed up local incremental HTML build (may cause document inconsistencies).
359356
extensions.append('sphinxnotes.fasthtml')

0 commit comments

Comments
 (0)