Skip to content

Commit f9e41a3

Browse files
committed
add robots
1 parent bea54a3 commit f9e41a3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

doc/conf.py

+4
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,10 @@
307307
# page template can override the one generated from index.rst
308308
html_additional_pages = {}
309309

310+
# Additional files to copy
311+
# TODO: remove robots.txt and this entry before merging into main
312+
html_extra_path = ["robots.txt"]
313+
310314
# Additional JS files
311315
html_js_files = ["scripts/details-permalink.js"]
312316

doc/robots.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-Agent: *
2+
Disallow: /

0 commit comments

Comments
 (0)