Skip to content

Commit dd4033e

Browse files
authored
Remove redirects for modules with 'stub' pages (#527)
1 parent b63f23a commit dd4033e

File tree

3 files changed

+42
-4576
lines changed

3 files changed

+42
-4576
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,7 @@ location ~ ^/([a-z-]*/)?(3|3.5|3.6|3.7|3.8|3.9|3.10)/library/__builtin__.html$ {
130130
location ~ ^/([a-z-]*/)?(3|3.5|3.6|3.7|3.8|3.9|3.10)/library/_winreg.html$ {
131131
return 301 https://$host/$1$2/library/winreg.html;
132132
}
133-
location ~ ^/([a-z-]*/)?(3|3.12|3.13|3.14)/library/(asynchat|asyncore|smtpd).html$ {
134-
return 301 https://$host/$1$2/;
135-
}
136-
location ~ ^/([a-z-]*/)?(3|3.13|3.14)/library/(2to3|aifc|audioop|cgi|cgitb|chunk|crypt|imghdr|mailcap|msilib|nis|nntplib|ossaudiodev|pipes|sndhdr|spwd|sunau|telnetlib|tkinter.tix|uu|xdrlib).html$ {
133+
location ~ ^/([a-z-]*/)?(3|3.13|3.14)/library/(2to3|tkinter.tix).html$ {
137134
return 301 https://$host/$1$2/;
138135
}
139136

0 commit comments

Comments
 (0)