Skip to content

Commit 4534e61

Browse files
authored
Redirects for Docs #156682 (#651)
1 parent 6a21459 commit 4534e61

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

salt/docs/config/nginx.docs-redirects.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ location ~ ^/([a-z-]*/)?(3|3.5|3.6|3.7|3.8|3.9|3.10)/library/_winreg.html$ {
133133
location ~ ^/([a-z-]*/)?(3|3.13|3.14)/library/(2to3|tkinter.tix).html$ {
134134
return 301 https://$host/$1$2/;
135135
}
136+
location ~ ^/([a-z-]*/)?(3|3.13|3.14|3.15)/library/(constants|exceptions|functions|stdtypes|threadsafety|time-complexity).html$ {
137+
return 301 https://$host/$1$2/builtins/$3.html;
138+
}
136139

137140
# Map /documenting to the devguide.
138141
location ~ ^/devguide/(.*)$ {

0 commit comments

Comments
 (0)