You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bm...@apache.org on 2021/10/10 10:31:05 UTC
[shiro-site] branch jbake updated: add redirects for javadocs.
This is an automated email from the ASF dual-hosted git repository.
bmarwell pushed a commit to branch jbake
in repository https://gitbox.apache.org/repos/asf/shiro-site.git
The following commit(s) were added to refs/heads/jbake by this push:
new c68de62 add redirects for javadocs.
new 9523563 Merge pull request #112 from bmarwell/jbake
c68de62 is described below
commit c68de62ffba24dc8965577a8cbc85d70085de434
Author: Benjamin Marwell <bm...@apache.org>
AuthorDate: Sun Oct 10 12:23:14 2021 +0200
add redirects for javadocs.
---
jbake/assets/.htaccess | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/jbake/assets/.htaccess b/jbake/assets/.htaccess
index c5f6d44..a5502c9 100644
--- a/jbake/assets/.htaccess
+++ b/jbake/assets/.htaccess
@@ -19,3 +19,15 @@ RedirectMatch ^/2013/05/30/apache-shiro-122-released.html /how-to-contribute.htm
# redirect old file names
RedirectMatch ^/assets/images/articles/(.*) /files/articles/$1
+
+# javadoc fixes
+# old jar name
+RedirectMatch /static/(.*)/tools(.*) /static/$1/shiro-tools/$2
+
+# those do not exist anymore.
+RedirectMatch /static/1.1.0(.*) /static/current$1
+RedirectMatch /static/1.0.0-incubating(.*) /static/current$1
+
+# latest
+RedirectMatch /static/current(.*) /static/1.8.0$1
+RedirectMatch /static/latest(.*) /static/1.8.0$1