Skip to content

Commit 6aa9a45

Browse files
authored
add logo option
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
1 parent 33c006a commit 6aa9a45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@
7979
# so a file named "default.css" will overwrite the builtin "default.css".
8080
html_static_path = ["_static"]
8181
html_css_files = ["css/custom.css"]
82+
html_theme_options = {
83+
"logo": {
84+
"image_light": "_static/logo.svg",
85+
"image_dark": "_static/logo-dark.svg",
86+
}
87+
}
8288

8389
autodoc_default_flags = ["members"]
8490
autosummary_generate = True

0 commit comments

Comments
 (0)