Skip to content

Commit e262680

Browse files
sekyondaMetameta-codesync[bot]
authored andcommitted
Add site map (#1651)
Summary: Adding site map xml mainly for google search console and fav icon for tabs Pull Request resolved: #1651 Reviewed By: johnwhumphreys Differential Revision: D85581104 Pulled By: sekyondaMeta fbshipit-source-id: 9f3458cdd45a5edf73abb98d6b14d0cb9f067487
1 parent 6265464 commit e262680

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/source/conf.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@
107107
"navbar_center": "navbar-nav",
108108
}
109109

110+
html_favicon = "_static/torch-monarch-icons.svg"
111+
110112
html_sidebars = {
111113
"generated/examples/getting_started": [],
112114
"rust-api": [],
@@ -146,6 +148,16 @@
146148
# Configure Sphinx to include the books directory
147149
exclude_patterns = [] # Reset exclude_patterns to ensure books are included
148150

151+
html_baseurl = "https://meta-pytorch.org/monarch/"
152+
153+
sitemap_locales = [None]
154+
sitemap_excludes = [
155+
"search.html",
156+
"genindex.html",
157+
]
158+
sitemap_url_scheme = "{link}"
159+
160+
149161
html_extra_path = ["../../target/doc"]
150162
html_static_path = ["_static"]
151163

0 commit comments

Comments
 (0)