File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 8686version = version ("autointent" ).replace ("dev" , "" ) # may differ
8787
8888BASE_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
9191html_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 {
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"
120120html_show_sourcelink = False
121121
122122toc_object_entries_show_parents = "hide"
You can’t perform that action at this time.
0 commit comments