Deprecate the doc url at /en/master/ in favor of /en/latest/

This commit is contained in:
Mads Marquart
2019-07-03 17:15:21 +02:00
parent 2dc93ed18b
commit a2930b4386
2 changed files with 4 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ html_theme_options = {
"show_related": False, "show_related": False,
} }
html_extra_path = ["robots.txt"]
# Custom sidebar templates, must be a dictionary that maps document names # Custom sidebar templates, must be a dictionary that maps document names
# to template names. # to template names.
# #

2
docs/robots.txt Normal file
View File

@@ -0,0 +1,2 @@
User-agent: *
Disallow: /en/master/