Skip to content

Commit 6663b7f

Browse files
committed
Set value for sitemap_url_scheme to correctly add URL entries to sitemap.xml.
Currently we have values that follow the default settings value, such as the following. `<loc>https://6.docs.plone.org6.0/backend/annotations.html</loc>` This change fixes the issue.
1 parent 64300b5 commit 6663b7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,9 @@
278278
html_use_index = True
279279

280280
# Used by sphinx_sitemap to generate a sitemap
281-
html_baseurl = "https://6.docs.plone.org"
281+
html_baseurl = "https://6.docs.plone.org/"
282+
# https://sphinx-sitemap.readthedocs.io/en/latest/advanced-configuration.html#customizing-the-url-scheme
283+
sitemap_url_scheme = "{link}"
282284

283285
# -- Options for HTML help output -------------------------------------------------
284286

0 commit comments

Comments
 (0)