Mercurial > p > roundup > code
diff website/www/conf.py @ 6667:5855a6a26bdd
Add sitemap to docs. Also add robots.txt to advertize sitemap.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 09 May 2022 21:23:50 -0400 |
| parents | 54af7ce65e6e |
| children | b3ba03d2b214 |
line wrap: on
line diff
--- a/website/www/conf.py Mon May 09 19:57:16 2022 -0400 +++ b/website/www/conf.py Mon May 09 21:23:50 2022 -0400 @@ -29,7 +29,10 @@ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -# extensions = ['sphinxcontrib.cheeseshop'] +extensions = ['sphinx_sitemap'] + +# for sitemap default: "{lang}{version}subdir/{link}" +sitemap_url_scheme = "{link}" # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -132,6 +135,13 @@ # typographically correct entities. #html_use_smartypants = True +# A list of paths that contain extra files not directly related to the +# documentation, such as robots.txt or .htaccess. Relative paths are +# taken as relative to the configuration directory. They are copied to +# the output directory. They will overwrite any existing file of the +# same name. +html_extra_path = ['robots.txt'] + # Custom sidebar templates, maps document names to template names. #html_sidebars = {}
