This is an automated email from the ASF dual-hosted git repository.
mck pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git
The following commit(s) were added to refs/heads/asf-staging by this push:
new b1edee1 ninja-fix: hack in /Cassandra/ to /doc/ redirect
b1edee1 is described below
commit b1edee1513f395babf3a80b7f5c7ce81ba7d253a
Author: mck <[email protected]>
AuthorDate: Wed Aug 18 18:30:45 2021 +0200
ninja-fix: hack in /Cassandra/ to /doc/ redirect
---
content/.htaccess | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/content/.htaccess b/content/.htaccess
index d8b7945..f48b8be 100755
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -9,6 +9,11 @@ RewriteCond %{REQUEST_URI} !^/doc/.*
RewriteCond %{REQUEST_URI} ^(.*)/$
RewriteRule ^(.*)/$ /_/$1.html [R=301,L]
+# temp – while in-tree antora are building to /Cassandra/
+RewriteCond %{REQUEST_URI} !^/doc/.*
+RewriteCond %{REQUEST_URI} ^/Cassandra/(.*)$
+RewriteRule ^/Cassandra/(.*)$ /doc/$1 [R=301,L]
+
# development in-tree docs have been moved to cassandra-website
RewriteCond %{REQUEST_URI} ^/doc/latest/development/(.+).html [NC]
RewriteRule ^/?doc/latest/development/(.+).html$ /_/development/$1.html
[R=301,L]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]