Skip to content

Commit d57f603

Browse files
committed
Add robots.txt
1 parent 04dc348 commit d57f603

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
#
7474
html_theme = "furo"
7575
html_title = f"setuptools-git-versioning {version}"
76+
html_extra_path = ["robots.txt"]
7677

7778
# Add any paths that contain custom static files (such as style sheets) here,
7879
# relative to this directory. They are copied after the builtin static files,

docs/robots.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
User-agent: *
2+
Allow: /*/stable/
3+
Allow: /en/stable/ # Fallback for bots that don't understand wildcards
4+
Disallow: /
5+
Sitemap: https://setuptools-git-versioning.readthedocs.io/sitemap.xml

0 commit comments

Comments
 (0)