From 10f09d841ad7567bd4d5f0aa5e8f134f3a6b1997 Mon Sep 17 00:00:00 2001 From: afgambin <103958447+afgambin@users.noreply.github.com> Date: Tue, 14 Oct 2025 13:27:37 +0100 Subject: [PATCH] Update sitemap configuration --- docs/conf.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 6b2dadd..9689a94 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -179,14 +179,9 @@ html_baseurl = 'https://documentation.ubuntu.com/data-science-stack/' -# URL scheme. Add language and version scheme elements. -# When configured with RTD variables, check for RTD environment so manual runs succeed: - -if 'READTHEDOCS_VERSION' in os.environ: - version = os.environ["READTHEDOCS_VERSION"] - sitemap_url_scheme = '{version}{link}' -else: - sitemap_url_scheme = 'MANUAL/{link}' +# URL scheme. + +sitemap_url_scheme = '{link}' # Include `lastmod` dates in the sitemap: