Skip to content

Commit

Permalink
Add robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Apr 8, 2024
1 parent 04dc348 commit d57f603
Show file tree
Hide file tree
Showing 2 changed files with 6 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 @@ -73,6 +73,7 @@
#
html_theme = "furo"
html_title = f"setuptools-git-versioning {version}"
html_extra_path = ["robots.txt"]

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
5 changes: 5 additions & 0 deletions docs/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
User-agent: *
Allow: /*/stable/
Allow: /en/stable/ # Fallback for bots that don't understand wildcards
Disallow: /
Sitemap: https://setuptools-git-versioning.readthedocs.io/sitemap.xml

0 comments on commit d57f603

Please sign in to comment.