Skip to content

Commit 1b8f6cd

Browse files
authored
Add sitemap xml (#1013)
1 parent c953df9 commit 1b8f6cd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/conf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ def connect(self, event: str, callback: Callable[..., None]) -> None:
128128
"navbar_center": "navbar-nav",
129129
}
130130

131+
html_favicon = "_static/helion_nobackground.png"
132+
131133
theme_variables = pytorch_sphinx_theme2.get_theme_variables()
132134
templates_path = ["_templates"]
133135
if pytorch_sphinx_theme2.__file__ is not None:
@@ -178,6 +180,13 @@ def connect(self, event: str, callback: Callable[..., None]) -> None:
178180
# Output directory for HTML files
179181
html_output_dir = "../site"
180182

183+
sitemap_locales = [None]
184+
sitemap_excludes = [
185+
"search.html",
186+
"genindex.html",
187+
]
188+
sitemap_url_scheme = "{link}"
189+
181190
# Base URL for sitemap and canonical links
182191
html_baseurl = "https://helionlang.com/"
183192

0 commit comments

Comments
 (0)