This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-site.git
The following commit(s) were added to refs/heads/main by this push:
new a9859a22 direct management current docs to 1.0.0 (#24)
a9859a22 is described below
commit a9859a22d1151e04d55698f783caead19441752c
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Aug 14 09:19:47 2023 +0100
direct management current docs to 1.0.0 (#24)
---
content/.htaccess | 14 ++++++++++----
src/main/public/.htaccess | 3 +++
2 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/content/.htaccess b/content/.htaccess
index 072fd13b..f779e0ea 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -11,19 +11,25 @@ RewriteRule ^japi/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pe
RewriteRule ^docs/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.0.0/docs/$1 [P]
RewriteRule ^api/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.0.0/api/$1 [P]
RewriteRule ^japi/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.0.0/japi/$1 [P]
-# pekko-*/current gets redirected to pekko-*/snapshot because no releases
exist yet (likewise for other downstream modules)
+# pekko-management/current gets redirected to pekko-management/1.0.0
+RewriteRule ^docs/pekko-management/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-management/1.0.0/docs/$1 [P]
+RewriteRule ^api/pekko-management/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-management/1.0.0/api/$1 [P]
+# pekko-connectors-kafka/current gets redirected to
pekko-connectors-kafka/1.0.0
+RewriteRule ^docs/pekko-connectors-kafka/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-connectors-kafka/1.0.0/docs/$1 [P]
+RewriteRule ^api/pekko-connectors-kafka/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-connectors-kafka/1.0.0/api/$1 [P]
+# pekko-*/current gets redirected to pekko-*/snapshot because no releases
exist yet
RewriteRule ^docs/([^/]+)/current/(.*)$
https://nightlies.apache.org/pekko/docs/$1/main-snapshot/docs/$2 [P]
RewriteRule ^api/([^/]+)/current/(.*)$
https://nightlies.apache.org/pekko/docs/$1/main-snapshot/api/$2 [P]
RewriteRule ^japi/([^/]+)/current/(.*)$
https://nightlies.apache.org/pekko/docs/$1/main-snapshot/japi/$2 [P]
-# 1.0.0 redirect (only works for pekko because no other modules are released)
+# 1.0.0 redirect
RewriteRule ^docs/([^/]+)/1.0.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.0/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.0.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.0/api/$2 [P]
RewriteRule ^japi/([^/]+)/1.0.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.0/japi/$2 [P]
-# 1.0.1 redirect (only works for pekko because no other modules are released)
+# 1.0.1 redirect
RewriteRule ^docs/([^/]+)/1.0.1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.1/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.0.1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.1/api/$2 [P]
RewriteRule ^japi/([^/]+)/1.0.1/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0.1/japi/$2 [P]
-# 1.0 redirect (only works for pekko because no other modules are released)
+# 1.0 redirect
RewriteRule ^docs/([^/]+)/1.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0/docs/$2 [P]
RewriteRule ^api/([^/]+)/1.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0/api/$2 [P]
RewriteRule ^japi/([^/]+)/1.0/(.*)$
https://nightlies.apache.org/pekko/docs/$1/1.0/japi/$2 [P]
diff --git a/src/main/public/.htaccess b/src/main/public/.htaccess
index b209b8a1..f779e0ea 100644
--- a/src/main/public/.htaccess
+++ b/src/main/public/.htaccess
@@ -11,6 +11,9 @@ RewriteRule ^japi/pekko/current/(.*)$
https://nightlies.apache.org/pekko/docs/pe
RewriteRule ^docs/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.0.0/docs/$1 [P]
RewriteRule ^api/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.0.0/api/$1 [P]
RewriteRule ^japi/pekko-http/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-http/1.0.0/japi/$1 [P]
+# pekko-management/current gets redirected to pekko-management/1.0.0
+RewriteRule ^docs/pekko-management/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-management/1.0.0/docs/$1 [P]
+RewriteRule ^api/pekko-management/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-management/1.0.0/api/$1 [P]
# pekko-connectors-kafka/current gets redirected to
pekko-connectors-kafka/1.0.0
RewriteRule ^docs/pekko-connectors-kafka/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-connectors-kafka/1.0.0/docs/$1 [P]
RewriteRule ^api/pekko-connectors-kafka/current/(.*)$
https://nightlies.apache.org/pekko/docs/pekko-connectors-kafka/1.0.0/api/$1 [P]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]