Skip to content

Commit 2c54508

Browse files
Merge pull request #7 from scriptautomate-bc/sitemap-exceptions
Exclude some initial files from sitemap
2 parents 518f9a5 + 305772d commit 2c54508

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,14 @@ def setup(app):
127127
html_theme = 'furo'
128128
html_title = project
129129
html_baseurl = 'https://docs.saltproject.io/salt/user-guide/'
130+
130131
# Extends baseurl, in combination with version value
131132
sitemap_locales = ['en']
133+
# Pages we don't care to include in generated sitemap file
134+
sitemap_excludes = [
135+
"search.html",
136+
"genindex.html",
137+
]
132138

133139
html_theme_options = {
134140
"dark_css_variables": {

0 commit comments

Comments
 (0)