Skip to content

Commit

Permalink
[DOP-13779] Add robots.txt for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Mar 20, 2024
1 parent b116303 commit 04e551f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
html_extra_path = ["robots.txt"]

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down
4 changes: 4 additions & 0 deletions docs/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Allow: /*/stable/
Allow: /en/stable/ # Fallback for bots that don't understand wildcards
Disallow: /

0 comments on commit 04e551f

Please sign in to comment.