diff --git a/docs/conf.py b/docs/conf.py index 2d81999..39bf47c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -109,9 +109,11 @@ def setup(app): "sphinx.ext.todo", "sphinx-prompt", # Required by sphinx_substitution_extensions "sphinx_inline_tabs", - "sphinx_substitution_extensions" + "sphinx_substitution_extensions", + 'sphinx_sitemap', # Required for the sitemap ] + source_suffix = ".rst" # Add any paths that contain templates here, relative to this directory. @@ -138,6 +140,7 @@ def setup(app): html_show_sourcelink = True # False on private repos; True on public repos html_theme = 'furo' html_title = project +html_baseurl = 'https://docs.saltproject.io/salt/user-guide/en/latest/' html_theme_options = { "dark_css_variables": { diff --git a/docs/requirements.txt b/docs/requirements.txt index ec9a5dc..e3f3a08 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -4,5 +4,6 @@ sphinx-copybutton>=0.5.1 sphinx-design>=0.3.0 sphinx-inline-tabs>=2022.1.2b11 sphinx-prompt +sphinx-sitemap==2.6.0 sphinx-tabs>=3.4.1 sphinx>=5.3.0