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 2024/10/10 13:20:38 UTC

(pekko-site) branch grpc-redirect created (now 1a175f56)

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

fanningpj pushed a change to branch grpc-redirect
in repository https://gitbox.apache.org/repos/asf/pekko-site.git


      at 1a175f56 change version redirects - including for grpc/current

This branch includes the following new commits:

     new 1a175f56 change version redirects - including for grpc/current

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


(pekko-site) 01/01: change version redirects - including for grpc/current

Posted by fa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch grpc-redirect
in repository https://gitbox.apache.org/repos/asf/pekko-site.git

commit 1a175f56288e4d1a8164df0616440a6fc81480e7
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Thu Oct 10 14:20:30 2024 +0100

    change version redirects - including for grpc/current
---
 content/.htaccess         | 69 ++++++++++++++++++++++-------------------------
 src/main/public/.htaccess | 69 ++++++++++++++++++++++-------------------------
 2 files changed, 64 insertions(+), 74 deletions(-)

diff --git a/content/.htaccess b/content/.htaccess
index a055aa26..2bf908fe 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -5,42 +5,38 @@ RewriteRule ^api/([^/]+)/snapshot/(.*)$ https://nightlies.apache.org/pekko/docs/
 RewriteRule ^japi/([^/]+)/snapshot/(.*)$ https://nightlies.apache.org/pekko/docs/$1/main-snapshot/japi/$2 [P]
 # broken current links in legacy docs
 RewriteRule ^docs/pekko/current/project/migration-guides.html https://pekko.apache.org/docs/pekko/current/migration/migration-guide-akka-1.0.x.html [P]
-# pekko/current gets redirected to pekko/1.1.1
-RewriteRule ^docs/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1.1/docs/$1 [P]
-RewriteRule ^api/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1.1/api/$1 [P]
-RewriteRule ^japi/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1.1/japi/$1 [P]
-# pekko-http/current gets redirected to pekko-http/1.1.0
-RewriteRule ^docs/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.1.0/docs/$1 [P]
-RewriteRule ^api/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.1.0/api/$1 [P]
-RewriteRule ^japi/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.1.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-grpc/current gets redirected to pekko-grpc/1.0.2
-RewriteRule ^docs/pekko-grpc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-grpc/1.0.2/docs/$1 [P]
-RewriteRule ^api/pekko-grpc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-grpc/1.0.2/api/$1 [P]
-# pekko-connectors/current gets redirected to pekko-connectors/1.0.2
-RewriteRule ^docs/pekko-connectors/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors/1.0.2/docs/$1 [P]
-RewriteRule ^api/pekko-connectors/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors/1.0.2/api/$1 [P]
-# pekko-connectors-kafka/current gets redirected to pekko-connectors-kafka/1.1.0
-RewriteRule ^docs/pekko-connectors-kafka/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors-kafka/1.1.0/docs/$1 [P]
-RewriteRule ^api/pekko-connectors-kafka/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors-kafka/1.1.0/api/$1 [P]
-# pekko-persistence-cassandra/current gets redirected to pekko-persistence-cassandra/1.0.0
-RewriteRule ^docs/pekko-persistence-cassandra/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-cassandra/1.0.0/docs/$1 [P]
-RewriteRule ^api/pekko-persistence-cassandra/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-cassandra/1.0.0/api/$1 [P]
-# pekko-persistence-jdbc/current gets redirected to pekko-persistence-jdbc/1.1.0
-RewriteRule ^docs/pekko-persistence-jdbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-jdbc/1.1.0/docs/$1 [P]
-RewriteRule ^api/pekko-persistence-jdbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-jdbc/1.1.0/api/$1 [P]
-# pekko-persistence-r2dbc/current gets redirected to pekko-persistence-r2dbc/1.0.0
-RewriteRule ^docs/pekko-persistence-r2dbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-r2dbc/1.0.0/docs/$1 [P]
-RewriteRule ^api/pekko-persistence-r2dbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-r2dbc/1.0.0/api/$1 [P]
-# pekko-projection/current gets redirected to pekko-projection/1.0.0
-RewriteRule ^docs/pekko-projection/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-projection/1.0.0/docs/$1 [P]
-RewriteRule ^api/pekko-projection/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-projection/1.0.0/api/$1 [P]
-# pekko-*/current gets redirected to pekko-*/snapshot if 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]
+# pekko/current gets redirected to pekko/1.1
+RewriteRule ^docs/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1/docs/$1 [P]
+RewriteRule ^api/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1/api/$1 [P]
+RewriteRule ^japi/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1/japi/$1 [P]
+# pekko-http/current gets redirected to pekko-http/1.1
+RewriteRule ^docs/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.1/docs/$1 [P]
+RewriteRule ^api/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.1/api/$1 [P]
+RewriteRule ^japi/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.1/japi/$1 [P]
+# pekko-management/current gets redirected to pekko-management/1.0
+RewriteRule ^docs/pekko-management/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-management/1.0/docs/$1 [P]
+RewriteRule ^api/pekko-management/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-management/1.0/api/$1 [P]
+# pekko-grpc/current gets redirected to pekko-grpc/1.1
+RewriteRule ^docs/pekko-grpc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-grpc/1.1/docs/$1 [P]
+RewriteRule ^api/pekko-grpc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-grpc/1.1/api/$1 [P]
+# pekko-connectors/current gets redirected to pekko-connectors/1.0
+RewriteRule ^docs/pekko-connectors/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors/1.0/docs/$1 [P]
+RewriteRule ^api/pekko-connectors/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors/1.0/api/$1 [P]
+# pekko-connectors-kafka/current gets redirected to pekko-connectors-kafka/1.1
+RewriteRule ^docs/pekko-connectors-kafka/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors-kafka/1.1/docs/$1 [P]
+RewriteRule ^api/pekko-connectors-kafka/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors-kafka/1.1/api/$1 [P]
+# pekko-persistence-cassandra/current gets redirected to pekko-persistence-cassandra/1.0
+RewriteRule ^docs/pekko-persistence-cassandra/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-cassandra/1.0/docs/$1 [P]
+RewriteRule ^api/pekko-persistence-cassandra/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-cassandra/1.0/api/$1 [P]
+# pekko-persistence-jdbc/current gets redirected to pekko-persistence-jdbc/1.1
+RewriteRule ^docs/pekko-persistence-jdbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-jdbc/1.1/docs/$1 [P]
+RewriteRule ^api/pekko-persistence-jdbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-jdbc/1.1/api/$1 [P]
+# pekko-persistence-r2dbc/current gets redirected to pekko-persistence-r2dbc/1.0
+RewriteRule ^docs/pekko-persistence-r2dbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-r2dbc/1.0/docs/$1 [P]
+RewriteRule ^api/pekko-persistence-r2dbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-r2dbc/1.0/api/$1 [P]
+# pekko-projection/current gets redirected to pekko-projection/1.0
+RewriteRule ^docs/pekko-projection/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-projection/1.0/docs/$1 [P]
+RewriteRule ^api/pekko-projection/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-projection/1.0/api/$1 [P]
 # 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]
@@ -105,4 +101,3 @@ Header always set X-Frame-Options SAMEORIGIN
 Header set X-Content-Type-Options nosniff
 Header set X-XSS-Protection "1; mode=block"
 Header set Referrer-Policy: strict-origin
-
diff --git a/src/main/public/.htaccess b/src/main/public/.htaccess
index a055aa26..2bf908fe 100644
--- a/src/main/public/.htaccess
+++ b/src/main/public/.htaccess
@@ -5,42 +5,38 @@ RewriteRule ^api/([^/]+)/snapshot/(.*)$ https://nightlies.apache.org/pekko/docs/
 RewriteRule ^japi/([^/]+)/snapshot/(.*)$ https://nightlies.apache.org/pekko/docs/$1/main-snapshot/japi/$2 [P]
 # broken current links in legacy docs
 RewriteRule ^docs/pekko/current/project/migration-guides.html https://pekko.apache.org/docs/pekko/current/migration/migration-guide-akka-1.0.x.html [P]
-# pekko/current gets redirected to pekko/1.1.1
-RewriteRule ^docs/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1.1/docs/$1 [P]
-RewriteRule ^api/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1.1/api/$1 [P]
-RewriteRule ^japi/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1.1/japi/$1 [P]
-# pekko-http/current gets redirected to pekko-http/1.1.0
-RewriteRule ^docs/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.1.0/docs/$1 [P]
-RewriteRule ^api/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.1.0/api/$1 [P]
-RewriteRule ^japi/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.1.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-grpc/current gets redirected to pekko-grpc/1.0.2
-RewriteRule ^docs/pekko-grpc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-grpc/1.0.2/docs/$1 [P]
-RewriteRule ^api/pekko-grpc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-grpc/1.0.2/api/$1 [P]
-# pekko-connectors/current gets redirected to pekko-connectors/1.0.2
-RewriteRule ^docs/pekko-connectors/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors/1.0.2/docs/$1 [P]
-RewriteRule ^api/pekko-connectors/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors/1.0.2/api/$1 [P]
-# pekko-connectors-kafka/current gets redirected to pekko-connectors-kafka/1.1.0
-RewriteRule ^docs/pekko-connectors-kafka/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors-kafka/1.1.0/docs/$1 [P]
-RewriteRule ^api/pekko-connectors-kafka/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors-kafka/1.1.0/api/$1 [P]
-# pekko-persistence-cassandra/current gets redirected to pekko-persistence-cassandra/1.0.0
-RewriteRule ^docs/pekko-persistence-cassandra/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-cassandra/1.0.0/docs/$1 [P]
-RewriteRule ^api/pekko-persistence-cassandra/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-cassandra/1.0.0/api/$1 [P]
-# pekko-persistence-jdbc/current gets redirected to pekko-persistence-jdbc/1.1.0
-RewriteRule ^docs/pekko-persistence-jdbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-jdbc/1.1.0/docs/$1 [P]
-RewriteRule ^api/pekko-persistence-jdbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-jdbc/1.1.0/api/$1 [P]
-# pekko-persistence-r2dbc/current gets redirected to pekko-persistence-r2dbc/1.0.0
-RewriteRule ^docs/pekko-persistence-r2dbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-r2dbc/1.0.0/docs/$1 [P]
-RewriteRule ^api/pekko-persistence-r2dbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-r2dbc/1.0.0/api/$1 [P]
-# pekko-projection/current gets redirected to pekko-projection/1.0.0
-RewriteRule ^docs/pekko-projection/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-projection/1.0.0/docs/$1 [P]
-RewriteRule ^api/pekko-projection/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-projection/1.0.0/api/$1 [P]
-# pekko-*/current gets redirected to pekko-*/snapshot if 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]
+# pekko/current gets redirected to pekko/1.1
+RewriteRule ^docs/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1/docs/$1 [P]
+RewriteRule ^api/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1/api/$1 [P]
+RewriteRule ^japi/pekko/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko/1.1/japi/$1 [P]
+# pekko-http/current gets redirected to pekko-http/1.1
+RewriteRule ^docs/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.1/docs/$1 [P]
+RewriteRule ^api/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.1/api/$1 [P]
+RewriteRule ^japi/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.1/japi/$1 [P]
+# pekko-management/current gets redirected to pekko-management/1.0
+RewriteRule ^docs/pekko-management/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-management/1.0/docs/$1 [P]
+RewriteRule ^api/pekko-management/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-management/1.0/api/$1 [P]
+# pekko-grpc/current gets redirected to pekko-grpc/1.1
+RewriteRule ^docs/pekko-grpc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-grpc/1.1/docs/$1 [P]
+RewriteRule ^api/pekko-grpc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-grpc/1.1/api/$1 [P]
+# pekko-connectors/current gets redirected to pekko-connectors/1.0
+RewriteRule ^docs/pekko-connectors/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors/1.0/docs/$1 [P]
+RewriteRule ^api/pekko-connectors/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors/1.0/api/$1 [P]
+# pekko-connectors-kafka/current gets redirected to pekko-connectors-kafka/1.1
+RewriteRule ^docs/pekko-connectors-kafka/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors-kafka/1.1/docs/$1 [P]
+RewriteRule ^api/pekko-connectors-kafka/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-connectors-kafka/1.1/api/$1 [P]
+# pekko-persistence-cassandra/current gets redirected to pekko-persistence-cassandra/1.0
+RewriteRule ^docs/pekko-persistence-cassandra/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-cassandra/1.0/docs/$1 [P]
+RewriteRule ^api/pekko-persistence-cassandra/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-cassandra/1.0/api/$1 [P]
+# pekko-persistence-jdbc/current gets redirected to pekko-persistence-jdbc/1.1
+RewriteRule ^docs/pekko-persistence-jdbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-jdbc/1.1/docs/$1 [P]
+RewriteRule ^api/pekko-persistence-jdbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-jdbc/1.1/api/$1 [P]
+# pekko-persistence-r2dbc/current gets redirected to pekko-persistence-r2dbc/1.0
+RewriteRule ^docs/pekko-persistence-r2dbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-r2dbc/1.0/docs/$1 [P]
+RewriteRule ^api/pekko-persistence-r2dbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-r2dbc/1.0/api/$1 [P]
+# pekko-projection/current gets redirected to pekko-projection/1.0
+RewriteRule ^docs/pekko-projection/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-projection/1.0/docs/$1 [P]
+RewriteRule ^api/pekko-projection/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-projection/1.0/api/$1 [P]
 # 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]
@@ -105,4 +101,3 @@ Header always set X-Frame-Options SAMEORIGIN
 Header set X-Content-Type-Options nosniff
 Header set X-XSS-Protection "1; mode=block"
 Header set Referrer-Policy: strict-origin
-


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org