Skip to content

Commit c00781b

Browse files
committed
static url
1 parent 4025ab6 commit c00781b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/source/conf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@
8686
version = version("autointent").replace("dev", "") # may differ
8787

8888
BASE_URL = "https://deeppavlov.github.io/AutoIntent/versions"
89-
BASE_STATIC_URL = "https://deeppavlov.github.io/AutoIntent/versions/dev/_static"
89+
BASE_STATIC_URL = f"{BASE_URL}/dev/_static"
9090

9191
html_theme_options = {
9292
"logo": {
9393
"text": "AutoIntent",
94-
"image_light": f"{BASE_URL}/logo-light.svg",
95-
"image_dark": f"{BASE_URL}/logo-dark.svg",
94+
"image_light": f"{BASE_STATIC_URL}/logo-light.svg",
95+
"image_dark": f"{BASE_STATIC_URL}/logo-dark.svg",
9696
},
9797
"icon_links": [
9898
{
@@ -104,19 +104,19 @@
104104
{
105105
"name": "HuggingFace",
106106
"url": "https://huggingface.co/AutoIntent",
107-
"icon": f"{BASE_URL}/hf-logo.svg",
107+
"icon": f"{BASE_STATIC_URL}/hf-logo.svg",
108108
"type": "local",
109109
},
110110
],
111111
"switcher": {
112-
"json_url": f"{BASE_URL}/versions.json",
112+
"json_url": f"{BASE_STATIC_URL}/versions.json",
113113
"version_match": version,
114114
},
115115
"navbar_start": ["navbar-logo", "version-switcher"],
116116
"show_toc_level": 3,
117117
}
118118

119-
html_favicon = f"{BASE_URL}/logo-white.svg"
119+
html_favicon = f"{BASE_STATIC_URL}/logo-white.svg"
120120
html_show_sourcelink = False
121121

122122
toc_object_entries_show_parents = "hide"

0 commit comments

Comments
 (0)