Skip to content

Commit abb344d

Browse files
authored
build sitemap.xml WITHOUT version information in links (#91)
1 parent 65b4c0c commit abb344d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141

4242
# for sitemap with https://github.com/jdillard/sphinx-sitemap
4343
site_url = "https://www.mdanalysis.org/pytng/"
44+
sitemap_url_scheme = "{link}"
4445

4546
# Add any paths that contain templates here, relative to this directory.
4647
templates_path = ['_templates']
@@ -57,7 +58,7 @@
5758
# General information about the project.
5859
project = u'pytng'
5960
author = u'Max Linke, Richard J Gowers, Hugo MacDermott-Opeskin'
60-
copyright = u'2017-2020, ' + author
61+
copyright = u'2017-2021, ' + author
6162

6263

6364
# The version info for the project you're documenting, acts as replacement for
@@ -184,7 +185,6 @@
184185
html_use_opensearch = 'https://www.mdanalysis.org/pytng'
185186

186187
# sphinx-sitemap config https://github.com/jdillard/sphinx-sitemap
187-
#html_baseurl = 'https://www.mdanalysis.org/RotamerConvolveMD/'
188188
site_url = 'https://www.mdanalysis.org/pytng/'
189189
html_extra_path = ['robots.txt']
190190

0 commit comments

Comments
 (0)