Преглед на файлове

docs: register theme as extension

Thomas Waldmann преди 1 месец
родител
ревизия
d312ddb1f7
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      docs/conf.py

+ 3 - 0
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})