Skip to content

Commit 6da4cac

Browse files
committed
docs: Use html_css_files
1 parent 7db7f8c commit 6da4cac

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import sys
77
from pathlib import Path
88

9-
sys.path.insert(0, Path("..").resolve())
9+
sys.path.insert(0, str(Path(__file__).parent.parent))
1010

1111
# -- Project information -----------------------------------------------------
1212
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
@@ -21,7 +21,10 @@
2121
# -- General configuration ---------------------------------------------------
2222
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
2323

24-
extensions = ["myst_parser", "sphinx_design"]
24+
extensions = [
25+
"myst_parser",
26+
"sphinx_design",
27+
]
2528

2629
templates_path = ["_templates"]
2730
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
@@ -31,6 +34,7 @@
3134

3235
html_theme = "furo"
3336
html_static_path = ["_static"]
37+
html_css_files = ["custom.css"]
3438

3539
myst_enable_extensions = ["colon_fence", "deflist", "dollarmath", "tasklist"]
3640
myst_enable_checkboxes = True

0 commit comments

Comments
 (0)