Skip to content

Commit

Permalink
Use html_css_files instead of setup()
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Nov 28, 2023
1 parent 0668764 commit 4097679
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@
# directly to the root of the documentation.
# html_extra_path = []

html_css_files = ["css/dark.css"]

html_js_files = [
"js/activate_tab.js",
]
Expand Down Expand Up @@ -317,10 +319,6 @@
# texinfo_no_detailmenu = False


def setup(app):
app.add_css_file("css/dark.css")


linkcheck_allowed_redirects = {
r"https://www.bestpractices.dev/projects/6331": r"https://www.bestpractices.dev/en/.*",
r"https://badges.gitter.im/python-pillow/Pillow.svg": r"https://badges.gitter.im/repo.svg",
Expand Down

0 comments on commit 4097679

Please sign in to comment.