cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntimof...@apache.org
Subject cayenne-website git commit: test publish
Date Mon, 08 Jan 2018 13:01:35 GMT
Repository: cayenne-website
Updated Branches:
  refs/heads/asf-site 021ae4498 -> ed46da0da


test publish


Project: http://git-wip-us.apache.org/repos/asf/cayenne-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne-website/commit/ed46da0d
Tree: http://git-wip-us.apache.org/repos/asf/cayenne-website/tree/ed46da0d
Diff: http://git-wip-us.apache.org/repos/asf/cayenne-website/diff/ed46da0d

Branch: refs/heads/asf-site
Commit: ed46da0da01675b988e1e679b419f44a4cfbfcf8
Parents: 021ae44
Author: Nikita Timofeev <stariy95@gmail.com>
Authored: Mon Jan 8 16:01:33 2018 +0300
Committer: Nikita Timofeev <stariy95@gmail.com>
Committed: Mon Jan 8 16:01:33 2018 +0300

----------------------------------------------------------------------
 .htaccess | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/ed46da0d/.htaccess
----------------------------------------------------------------------
diff --git a/.htaccess b/.htaccess
index c395df7..c735229 100644
--- a/.htaccess
+++ b/.htaccess
@@ -25,18 +25,19 @@ Redirect permanent /support.html /about/support/
 Redirect permanent /download.html /download/
 
 # Remaping docbook based docs to asciidocs based
-RedirectMatch permanent /docs/([0-9\.]+)/tutorial/(.*)\.html$ /docs/$1/getting-started-guide/\#$2
-RedirectMatch permanent /docs/([0-9\.]+)/tutorial-rop/(.*)\.html$ /docs/$1/getting-started-rop/\#$2
+RedirectMatch permanent ^/docs/([0-9\.]+)/tutorial/(.*)\.html$ /docs/$1/getting-started-guide/\#$2
+RedirectMatch permanent ^/docs/([0-9\.]+)/tutorial-rop/(.*)\.html$ /docs/$1/getting-started-rop/\#$2
 # Redirect all except index.html to exclude cyclic redirection
-RedirectMatch permanent /docs/([0-9\.]+)/cayenne-guide/(?!index)(.*)\.html$ /docs/$1/cayenne-guide/#$2
-RedirectMatch permanent /docs/([0-9\.]+)/upgrade-guide/(?!index)(.*)\.html$ /docs/$1/upgrade-guide/#$2
+RedirectMatch permanent ^/docs/([0-9\.]+)/cayenne-guide/(?!index)(.*)\.html$ /docs/$1/cayenne-guide/#$2
+RedirectMatch permanent ^/docs/([0-9\.]+)/upgrade-guide/(?!index)(.*)\.html$ /docs/$1/upgrade-guide/#$2
 
 # Links without direct replacement in new site
 Redirect permanent /docs/legacy.html /docs/3.0/
 Redirect permanent /about.html /
 Redirect permanent /collaboration.html /
 Redirect permanent /thanks.html /
-RedirectMatch permanent /legacy(.*).html /
+Redirect permanent /release-guide-2.0.html /dev/release-guide.html
+RedirectMatch permanent ^/legacy(.*).html$ /
 
 # Custom 404 error page
 ErrorDocument 404 /404.html


Mime
View raw message