From d312ddb1f7f4c3517f1d4be559c7eac03eb2e427 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 10 Apr 2025 18:56:25 +0200 Subject: [PATCH] docs: register theme as extension --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 8cb76044a..1c1b74d42 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -104,6 +104,9 @@ import guzzle_sphinx_theme html_theme_path = guzzle_sphinx_theme.html_theme_path() html_theme = "guzzle_sphinx_theme" +# Register the theme as an extension to generate a sitemap.xml +extensions.append("guzzle_sphinx_theme") + def set_rst_settings(app): app.env.settings.update({"field_name_limit": 0, "option_limit": 0})