We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcbd3b4 commit e1a8438Copy full SHA for e1a8438
conf.py
@@ -272,7 +272,7 @@
272
# Add any extra paths that contain custom files (such as robots.txt or
273
# .htaccess) here, relative to this directory. These files are copied
274
# directly to the root of the documentation.
275
-#html_extra_path = []
+html_extra_path = ["docs/robots.txt"]
276
277
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
278
# using the given strftime format.
docs/robots.txt
@@ -0,0 +1,6 @@
1
+User-agent: *
2
+Allow: /*/latest/
3
+Allow: /en/latest/ # Fallback for bots that don't understand wildcards
4
+Allow: /*/5.3.x/
5
+Allow: /en/5.3.x/ # Fallback for bots that don't understand wildcards
6
+Disallow: /
0 commit comments