You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by in...@apache.org on 2018/09/20 16:53:22 UTC

[incubator-mxnet] branch master updated: improve tutorial redirection (#12607)

This is an automated email from the ASF dual-hosted git repository.

indhub pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new ba993d1  improve tutorial redirection (#12607)
ba993d1 is described below

commit ba993d1091044ab9e74e84dae21cef340f263bf5
Author: Aaron Markham <ma...@amazon.com>
AuthorDate: Thu Sep 20 09:53:09 2018 -0700

    improve tutorial redirection (#12607)
---
 docs/build_version_doc/artifacts/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/build_version_doc/artifacts/.htaccess b/docs/build_version_doc/artifacts/.htaccess
index 95b311a..d553ce5 100644
--- a/docs/build_version_doc/artifacts/.htaccess
+++ b/docs/build_version_doc/artifacts/.htaccess
@@ -11,7 +11,7 @@ RewriteRule ^versions/[^\/]+/community/.*$ /community/ [R=301,L]
 RewriteRule ^versions/[^\/]+/faq/.*$ /faq/ [R=301,L]
 RewriteRule ^versions/[^\/]+/gluon/.*$ /gluon/ [R=301,L]
 RewriteRule ^versions/[^\/]+/install/.*$ /install/ [R=301,L]
-RewriteRule ^versions/[^\/]+/tutorials/.*$ /tutorials/ [R=301,L]
+RewriteRule ^versions/[^\/]+/tutorials/(.*)$ /tutorials/$1 [R=301,L]
 
 # Redirect navbar APIs that did not exist
 RewriteRule ^versions/0.11.0/api/python/contrib/onnx.html /error/api.html [R=301,L]