Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
adding redirects so that old website API links surfaced from searches…
Browse files Browse the repository at this point in the history
… redirect to proper locations in new website
  • Loading branch information
sojiadeshina committed Sep 30, 2019
1 parent f506f97 commit 768e9cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/static_site/src/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RewriteRule ^(.*) $1/index.html [NC,L]
ErrorDocument 404 /404.html

# Redirects

# Python API
Redirect 301 /versions/master/api/python/index.html /api/python/docs/api/index.html
Redirect 301 /api/python/ndarray/ndarray.html /api/python/docs/api/ndarray/index.html
Expand Down Expand Up @@ -54,6 +55,7 @@ Redirect 301 /api/python/profiler/profiler.html /api/python/docs/api/gluon-relat
Redirect 301 /api/python/io/io.html /api/python/docs/api/gluon-related/mxnet.io.html

Redirect 301 /api/python/symbol/symbol.html /api/python/docs/api/symbol/index.html
Redirect 301 /api/python/symbol.html /api/python/docs/api/symbol/index.html
Redirect 301 /api/python/symbol/linalg.html /api/python/docs/api/symbol/mxnet.symbol.linalg.html

Redirect 301 /api/python/module/module.html /api/python/docs/api/symbol-related/mxnet.module.html
Expand Down

0 comments on commit 768e9cf

Please sign in to comment.