Skip to content

Commit 8d980ca

Browse files
committed
📚 update rtd
1 parent 6df6512 commit 8d980ca

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Diff for: .moban.d/docs/source/custom_conf.py.jj2

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
'sphinx.ext.autosummary'
55
{%endblock%}
66
{%block custom_doc_theme%}
7-
html_theme = 'default'
8-
97

108
def setup(app):
11-
app.add_stylesheet('theme_overrides.css')
9+
app.add_css_file('theme_overrides.css')
1210

1311

1412
{%endblock%}

Diff for: docs/source/conf.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,9 @@
7272
intersphinx_mapping = {'python': ('https://docs.python.org/3',
7373
'python-inv.txt')}
7474
# TODO: html_theme not configurable upstream
75-
html_theme = 'default'
76-
7775

7876
def setup(app):
79-
app.add_stylesheet('theme_overrides.css')
77+
app.add_css_file('theme_overrides.css')
8078

8179

8280

0 commit comments

Comments
 (0)