You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2023/08/12 10:10:51 UTC
[incubator-pekko-site] branch management-1.0.0 created (now fd3ee99d)
This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a change to branch management-1.0.0
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-site.git
at fd3ee99d direct management current docs to 1.0.0
This branch includes the following new commits:
new fd3ee99d direct management current docs to 1.0.0
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org
[incubator-pekko-site] 01/01: direct management current docs to 1.0.0
Posted by fa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch management-1.0.0
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-site.git
commit fd3ee99d2bb317fd6329f72eb76e839a12db691f
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Sat Aug 12 11:10:43 2023 +0100
direct management current docs to 1.0.0
---
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: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org