You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2022/04/20 22:08:10 UTC

[solr-site] branch main updated: SOLR-15941: Append ref-guide htaccess additions (#76)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new c8d01fc1d SOLR-15941: Append ref-guide htaccess additions (#76)
c8d01fc1d is described below

commit c8d01fc1d19821e76b06493c20de67fdde98e26f
Author: Houston Putman <ho...@gmail.com>
AuthorDate: Wed Apr 20 18:08:07 2022 -0400

    SOLR-15941: Append ref-guide htaccess additions (#76)
    
    These additions are kept separate to make it easy to automate the
    generation of these file.
    
    They are blank for now, but will be updated when the 9.0 release is
    made.
---
 themes/solr/templates/htaccess.ref-guide-antora | 0
 themes/solr/templates/htaccess.ref-guide-old    | 0
 themes/solr/templates/htaccess.template         | 8 ++++++++
 3 files changed, 8 insertions(+)

diff --git a/themes/solr/templates/htaccess.ref-guide-antora b/themes/solr/templates/htaccess.ref-guide-antora
new file mode 100644
index 000000000..e69de29bb
diff --git a/themes/solr/templates/htaccess.ref-guide-old b/themes/solr/templates/htaccess.ref-guide-old
new file mode 100644
index 000000000..e69de29bb
diff --git a/themes/solr/templates/htaccess.template b/themes/solr/templates/htaccess.template
index 39e1e9198..77e1ec0e5 100644
--- a/themes/solr/templates/htaccess.template
+++ b/themes/solr/templates/htaccess.template
@@ -83,3 +83,11 @@ RewriteRule ^(docs|guide)/\d+(?!.+\.\w+$|.+/$).+$          $0/ [R=301,L]
 
 # __root/docs.solr.apache.org/ is a special alias added by INFRA-19439, so we can refer to stuff in other places like SVN
 RewriteRule ^(docs|guide)/\d+.*$  __root/docs.solr.apache.org/$0 [PT]
+
+# Redirects generated by Antora for the ref-guide
+
+{% include "htaccess.ref-guide-antora" %}
+
+# Redirects to help the transistion from the Solr 6-8 ref-guide to the Solr 9+ ref-guide.
+
+{% include "htaccess.ref-guide-old" %}