Stop using deprecated add_stylesheet in sphinx

add_stylesheet has been deprecated for a while.

This should hopefully fix the CI failures in circleci
pull/1050/head
Yuvi Panda 2021-06-29 15:11:26 +05:30 zatwierdzone przez YuviPanda
rodzic ea90ae23d3
commit 76f55c5a25
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -47,7 +47,7 @@ from recommonmark.transform import AutoStructify
def setup(app):
app.add_stylesheet("custom.css") # may also be a URL
app.add_css_file("custom.css") # may also be a URL
app.add_config_value(
"recommonmark_config", {"auto_toc_tree_section": "Contents"}, True
)