Skip to content

Commit 8b8081b

Browse files
authored
docs: Add redirect for the new(ish) 'deprecations' section (#522)
1 parent fa99dc3 commit 8b8081b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ location = /documenting/building.html {
167167
}
168168

169169
# Map toplevel URIs to Python 3 docs.
170-
location ~ ^/((archives|c-api|distutils|extending|faq|howto|install|library|reference|tutorial|using|whatsnew|_images|_sources|_static)(/.*)?)$ {
170+
location ~ ^/((archives|c-api|deprecations|distutils|extending|faq|howto|install|library|reference|tutorial|using|whatsnew|_images|_sources|_static)(/.*)?)$ {
171171
return 301 https://$host/3/$1;
172172
}
173173
location ~ ^/(about|bugs|contents|copyright|download|genindex(-[^.]+)?|glossary|index|license|py-modindex|search)(.html)?$ {

0 commit comments

Comments
 (0)