Skip to content

Commit cc89d7f

Browse files
committed
Add to the existing docs setup function rather than overwriting it
1 parent cad180a commit cc89d7f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/source/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def on_config_inited(*args):
4040

4141
def setup(app):
4242
app.connect("config-inited", on_config_inited)
43+
app.add_css_file("https://docs.jupyter.org/en/latest/_static/jupyter.css")
44+
4345

4446

4547
# -- Sphinx extensions and configuration ------------------------
@@ -221,6 +223,3 @@ def setup(app):
221223
epub_author = author
222224
epub_publisher = author
223225
epub_copyright = copyright
224-
225-
def setup(app):
226-
app.add_css_file("https://docs.jupyter.org/en/latest/_static/jupyter.css")

0 commit comments

Comments
 (0)