diff --git a/conf.py b/conf.py index 661b0daea3..60c3be5796 100644 --- a/conf.py +++ b/conf.py @@ -256,6 +256,10 @@ def get_version(): # 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 = { '**': [ diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000000..15dc7919ef --- /dev/null +++ b/robots.txt @@ -0,0 +1,5 @@ +User-agent: * + +Allow: /en/stable/ + +Sitemap: https://docs.dfhack.org/sitemap.xml