Mercurial > p > roundup > code
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 6666:54af7ce65e6e | 6667:5855a6a26bdd |
|---|---|
| 27 # General configuration | 27 # General configuration |
| 28 # --------------------- | 28 # --------------------- |
| 29 | 29 |
| 30 # Add any Sphinx extension module names here, as strings. They can be extensions | 30 # Add any Sphinx extension module names here, as strings. They can be extensions |
| 31 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. | 31 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
| 32 # extensions = ['sphinxcontrib.cheeseshop'] | 32 extensions = ['sphinx_sitemap'] |
| 33 | |
| 34 # for sitemap default: "{lang}{version}subdir/{link}" | |
| 35 sitemap_url_scheme = "{link}" | |
| 33 | 36 |
| 34 # Add any paths that contain templates here, relative to this directory. | 37 # Add any paths that contain templates here, relative to this directory. |
| 35 templates_path = ['_templates'] | 38 templates_path = ['_templates'] |
| 36 | 39 |
| 37 # The suffix of source filenames. | 40 # The suffix of source filenames. |
| 129 html_last_updated_fmt = '%b %d, %Y' | 132 html_last_updated_fmt = '%b %d, %Y' |
| 130 | 133 |
| 131 # If true, SmartyPants will be used to convert quotes and dashes to | 134 # If true, SmartyPants will be used to convert quotes and dashes to |
| 132 # typographically correct entities. | 135 # typographically correct entities. |
| 133 #html_use_smartypants = True | 136 #html_use_smartypants = True |
| 137 | |
| 138 # A list of paths that contain extra files not directly related to the | |
| 139 # documentation, such as robots.txt or .htaccess. Relative paths are | |
| 140 # taken as relative to the configuration directory. They are copied to | |
| 141 # the output directory. They will overwrite any existing file of the | |
| 142 # same name. | |
| 143 html_extra_path = ['robots.txt'] | |
| 134 | 144 |
| 135 # Custom sidebar templates, maps document names to template names. | 145 # Custom sidebar templates, maps document names to template names. |
| 136 #html_sidebars = {} | 146 #html_sidebars = {} |
| 137 | 147 |
| 138 html_collapse_toctree = True | 148 html_collapse_toctree = True |
