You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2021/08/17 12:10:07 UTC

[lucene-site] branch main updated: Move javadocs to new SVN location

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

uschindler pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 6cd59fb  Move javadocs to new SVN location
6cd59fb is described below

commit 6cd59fb336ec03a3308ffd1927926a9f8762a9bc
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Tue Aug 17 14:10:01 2021 +0200

    Move javadocs to new SVN location
---
 themes/lucene/templates/htaccess.template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/themes/lucene/templates/htaccess.template b/themes/lucene/templates/htaccess.template
index 8e77aa8..6683183 100644
--- a/themes/lucene/templates/htaccess.template
+++ b/themes/lucene/templates/htaccess.template
@@ -97,9 +97,11 @@ Redirect permanent /solr https://solr.apache.org
 
 ### Javadocs
 
+# TODO: Move the javadocs to a subfolder core/docs/ instead of directly below core/
+
 # Hack: Append slash, if folder name does not end with slash - everything containing a "." is treated as file and excluded from redirect:
-RewriteRule ^core/\d+_\d+_\d+/(?!.+\.\w+$|.+/$).+$   $0/ [R=301,L]
+RewriteRule ^core/\d+(?!.+\.\w+$|.+/$).+$   $0/ [R=301,L]
 
-# __root/docs.lucene.apache.org/content/ is a special alias added by INFRA-19439, so we can refer to stuff in other places like SVN:
-RewriteRule ^core/\d+_\d+_\d+/.*$         __root/docs.lucene.apache.org/content/$0 [PT]
+# __root/docs.lucene.apache.org/ is a special alias added by INFRA-19439, so we can refer to stuff in other places like SVN:
+RewriteRule ^core/\d+.*$         __root/docs.lucene.apache.org/$0 [PT]