create robots.txt for HTML docs

develop
Myk 2022-11-20 07:50:59 -08:00 committed by myk002
parent 3f6e92eda4
commit d2c26acb47
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
2 changed files with 9 additions and 0 deletions

@ -256,6 +256,10 @@ html_favicon = 'docs/styles/dfhack-icon.ico'
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['docs/styles']
# A list of paths that contain extra files not directly related to the
# documentation.
html_extra_path = ['robots.txt']
# Custom sidebar templates, maps document names to template names.
html_sidebars = {
'**': [

@ -0,0 +1,5 @@
User-agent: *
Allow: /en/stable/
Sitemap: https://docs.dfhack.org/sitemap.xml