Skip to content

Commit

Permalink
Remove redirects for modules with 'stub' pages (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner authored Nov 13, 2024
1 parent b63f23a commit dd4033e
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 4,576 deletions.
5 changes: 1 addition & 4 deletions salt/docs/config/nginx.docs-redirects.conf
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,7 @@ location ~ ^/([a-z-]*/)?(3|3.5|3.6|3.7|3.8|3.9|3.10)/library/__builtin__.html$ {
location ~ ^/([a-z-]*/)?(3|3.5|3.6|3.7|3.8|3.9|3.10)/library/_winreg.html$ {
return 301 https://$host/$1$2/library/winreg.html;
}
location ~ ^/([a-z-]*/)?(3|3.12|3.13|3.14)/library/(asynchat|asyncore|smtpd).html$ {
return 301 https://$host/$1$2/;
}
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$ {
location ~ ^/([a-z-]*/)?(3|3.13|3.14)/library/(2to3|tkinter.tix).html$ {
return 301 https://$host/$1$2/;
}

Expand Down
Loading

0 comments on commit dd4033e

Please sign in to comment.