Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redirect current to 1.1 for modules with full releases #136

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions content/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ RewriteRule ^docs/pekko/current/project/migration-guides.html https://pekko.apac
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.0.1
RewriteRule ^docs/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.0.1/docs/$1 [P]
RewriteRule ^api/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.0.1/api/$1 [P]
RewriteRule ^japi/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.0.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]
Expand All @@ -22,15 +22,15 @@ RewriteRule ^api/pekko-grpc/current/(.*)$ https://nightlies.apache.org/pekko/doc
# 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.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-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.0.0
RewriteRule ^docs/pekko-persistence-jdbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-jdbc/1.0.0/docs/$1 [P]
RewriteRule ^api/pekko-persistence-jdbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-jdbc/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]
Expand Down
20 changes: 10 additions & 10 deletions src/main/public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ RewriteRule ^docs/pekko/current/project/migration-guides.html https://pekko.apac
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.0.1
RewriteRule ^docs/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.0.1/docs/$1 [P]
RewriteRule ^api/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.0.1/api/$1 [P]
RewriteRule ^japi/pekko-http/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-http/1.0.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]
Expand All @@ -22,15 +22,15 @@ RewriteRule ^api/pekko-grpc/current/(.*)$ https://nightlies.apache.org/pekko/doc
# 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.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-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.0.0
RewriteRule ^docs/pekko-persistence-jdbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-jdbc/1.0.0/docs/$1 [P]
RewriteRule ^api/pekko-persistence-jdbc/current/(.*)$ https://nightlies.apache.org/pekko/docs/pekko-persistence-jdbc/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]
Expand Down