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 2020/02/16 16:56:01 UTC
[lucene-site] branch master updated: LUCENE-8987: More simpler way
without templates by using the /solr/api/index.html redirect to latest
version
This is an automated email from the ASF dual-hosted git repository.
uschindler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-site.git
The following commit(s) were added to refs/heads/master by this push:
new 0b857c7 LUCENE-8987: More simpler way without templates by using the /solr/api/index.html redirect to latest version
0b857c7 is described below
commit 0b857c73a95402bd51c2f124699555586caa53af
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Sun Feb 16 17:55:52 2020 +0100
LUCENE-8987: More simpler way without templates by using the /solr/api/index.html redirect to latest version
---
content/pages/solr/resources.md | 2 +-
themes/lucene/templates/solr/resources.html | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/content/pages/solr/resources.md b/content/pages/solr/resources.md
index 1685ade..1eccfe2 100644
--- a/content/pages/solr/resources.md
+++ b/content/pages/solr/resources.md
@@ -49,7 +49,7 @@ Beginning with Solr 4.4, a detailed reference guide is available online.
Solr generates JavaDocs for all included code in each release.
Copies of this documentation for every release can be found online:
-* [Latest Release](__DOCSLINK__)
+* [Latest Release](/solr/api/index.html)
<h3 class="offset" id="additional-documentation">Additional Documentation</h3>
diff --git a/themes/lucene/templates/solr/resources.html b/themes/lucene/templates/solr/resources.html
index 8d507e9..aef2de2 100644
--- a/themes/lucene/templates/solr/resources.html
+++ b/themes/lucene/templates/solr/resources.html
@@ -9,7 +9,3 @@
<dd><a data-scroll href="#presentations">Presentations</a></dd>
<dd><a data-scroll href="#videos">Videos</a></dd>
{% endblock %}
-
-{% block content_inner %}
-{{ page.content | replace('__DOCSLINK__', '/solr/%s/index.html' % (LUCENE_LATEST_RELEASE | replace(".", "_"))) }}
-{% endblock content_inner %}