You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ja...@apache.org on 2022/05/11 22:52:46 UTC

[solr-site] branch main updated (80965595c -> dbb29b484)

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

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


    from 80965595c Tune resources page to only link to /guide, not PDF versions
     new a01c479a7 Disable generic wildcard page redirect to old refguide
     new dbb29b484 Fix some refguide 'latest' links on webpage

The 2 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.


Summary of changes:
 content/solr/solr_news/2022-05-12-9-0-0-available.md | 4 ++--
 themes/solr/templates/downloads.html                 | 4 ++--
 themes/solr/templates/htaccess.template              | 3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)


[solr-site] 01/02: Disable generic wildcard page redirect to old refguide

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

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

commit a01c479a74df98918cf90b896d8a0ca985461231
Author: Jan Høydahl <ja...@users.noreply.github.com>
AuthorDate: Thu May 12 00:52:05 2022 +0200

    Disable generic wildcard page redirect to old refguide
---
 themes/solr/templates/htaccess.template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/themes/solr/templates/htaccess.template b/themes/solr/templates/htaccess.template
index 7b7a456d4..330d85aad 100644
--- a/themes/solr/templates/htaccess.template
+++ b/themes/solr/templates/htaccess.template
@@ -59,7 +59,8 @@ RedirectMatch Permanent ^/guide/\d+_\d+$ $0/
 # might change again in the future
 RedirectMatch temp ^/api/org/(.*) /docs/{{ SOLR_LATEST_RELEASE | replace(".", "_") }}/solr-core/org/$1
 RedirectMatch temp ^/api/(.*) /docs/{{ SOLR_LATEST_RELEASE | replace(".", "_") }}/$1
-RedirectMatch temp ^/guide/(?!index.html)(?!solr/)(?!search-index.js)([a-z].*) /guide/{{ SOLR_LATEST_RELEASE.rsplit(".", 1) | first | replace(".", "_") }}/$1
+# No need for this after 9.0, as we now use /guide/solr/latest/foo
+#RedirectMatch temp ^/guide/(?!index.html)(?!solr/)(?!search-index.js)([a-z].*) /guide/{{ SOLR_LATEST_RELEASE.rsplit(".", 1) | first | replace(".", "_") }}/$1
 
 # Solr Tutorial is now in the Solr Ref Guide
 # should redirect automatically to latest version


[solr-site] 02/02: Fix some refguide 'latest' links on webpage

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

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

commit dbb29b48446ba0839eb9c49c9c51a4385c49796c
Author: Jan Høydahl <ja...@users.noreply.github.com>
AuthorDate: Thu May 12 00:52:35 2022 +0200

    Fix some refguide 'latest' links on webpage
---
 content/solr/solr_news/2022-05-12-9-0-0-available.md | 4 ++--
 themes/solr/templates/downloads.html                 | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/content/solr/solr_news/2022-05-12-9-0-0-available.md b/content/solr/solr_news/2022-05-12-9-0-0-available.md
index babc397ba..6204efdf0 100644
--- a/content/solr/solr_news/2022-05-12-9-0-0-available.md
+++ b/content/solr/solr_news/2022-05-12-9-0-0-available.md
@@ -12,7 +12,7 @@ Solr 9.0.0 is available for immediate download at:
 
 This is a major-version release with breaking changes. The highlights below is not the full list. Please consult the "Solr Upgrade Notes" when planning an upgrade:
 
-  <https://solr.apache.org/guide/9_0/solr-upgrade-notes.html>
+  <https://solr.apache.org/guide/solr/9_0/upgrade-notes/solr-upgrade-notes.html>
 
 ## Solr 9.0.0 Release Highlights:
 
@@ -72,4 +72,4 @@ This is a major-version release with breaking changes. The highlights below is n
 
 Please read CHANGES.txt for a full list of new features, changes and bugfixes:
 
-  <https://solr.apache.org/9_0_0/changes/Changes.html>
\ No newline at end of file
+  <https://solr.apache.org/9_0_0/changes/Changes.html>
diff --git a/themes/solr/templates/downloads.html b/themes/solr/templates/downloads.html
index c09b1b328..f6f27edd1 100644
--- a/themes/solr/templates/downloads.html
+++ b/themes/solr/templates/downloads.html
@@ -136,8 +136,8 @@
   </table>
 
   <p>For more about versions and upgrading Solr, see the
-    <a href="{{ SITEURL }}/guide/solr-upgrade-notes.html">Reference Guide chapter “Upgrade Notes”</a>
-    and <a href="{{ SITEURL }}/guide/solr-system-requirements.html">"System Requirements"</a>.
+    <a href="{{ SITEURL }}/guide/solr/latest/upgrade-notes/solr-upgrade-notes.html">Reference Guide chapter “Upgrade Notes”</a>
+    and <a href="{{ SITEURL }}/guide/solr/latest/deployment-guide/system-requirements.html">"System Requirements"</a>.
   </p>
 </div>
 {% endblock content_inner %}