Skip to content

Commit

Permalink
create robots.txt for HTML docs
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Nov 21, 2022
1 parent 3f6e92e commit d2c26ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
'**': [
Expand Down
5 changes: 5 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
User-agent: *

Allow: /en/stable/

Sitemap: https://docs.dfhack.org/sitemap.xml

0 comments on commit d2c26ac

Please sign in to comment.