Skip to content

Commit faa7b27

Browse files
authored
Merge pull request plone#1508 from plone/fix-sitemap.xml
Set value for `sitemap_url_scheme` to correctly add URL entries to si…
2 parents 3dc3e91 + d7c18c0 commit faa7b27

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-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

docs/robots.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ Disallow: /.doctrees/
55
Disallow: /*.txt$
66
Disallow: /.buildinfo$
77
Disallow: /objects.inv$
8+
Sitemap: https://6.docs.plone.org/sitemap.xml

0 commit comments

Comments
 (0)