From abb344d6b067114b2a73023fc4cf0c614b9e3cb9 Mon Sep 17 00:00:00 2001 From: Oliver Beckstein Date: Wed, 13 Oct 2021 14:33:24 -0700 Subject: [PATCH] build sitemap.xml WITHOUT version information in links (#91) --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index f51e339f..638e3e93 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -41,6 +41,7 @@ # for sitemap with https://github.com/jdillard/sphinx-sitemap site_url = "https://www.mdanalysis.org/pytng/" +sitemap_url_scheme = "{link}" # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -57,7 +58,7 @@ # General information about the project. project = u'pytng' author = u'Max Linke, Richard J Gowers, Hugo MacDermott-Opeskin' -copyright = u'2017-2020, ' + author +copyright = u'2017-2021, ' + author # The version info for the project you're documenting, acts as replacement for @@ -184,7 +185,6 @@ html_use_opensearch = 'https://www.mdanalysis.org/pytng' # sphinx-sitemap config https://github.com/jdillard/sphinx-sitemap -#html_baseurl = 'https://www.mdanalysis.org/RotamerConvolveMD/' site_url = 'https://www.mdanalysis.org/pytng/' html_extra_path = ['robots.txt']