lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r1636899 - in /lucene/cms/branches/solr_6058: content/latestversion.mdtext content/solr/resources.mdtext lib/path.pm templates/_solr-version.html templates/solr-index.html
Date Wed, 05 Nov 2014 15:40:20 GMT
Author: gsingers
Date: Wed Nov  5 15:40:20 2014
New Revision: 1636899

URL: http://svn.apache.org/r1636899
Log:
SOLR-6058: better handling of latest version

Added:
    lucene/cms/branches/solr_6058/content/latestversion.mdtext
Removed:
    lucene/cms/branches/solr_6058/templates/_solr-version.html
Modified:
    lucene/cms/branches/solr_6058/content/solr/resources.mdtext
    lucene/cms/branches/solr_6058/lib/path.pm
    lucene/cms/branches/solr_6058/templates/solr-index.html

Added: lucene/cms/branches/solr_6058/content/latestversion.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/content/latestversion.mdtext?rev=1636899&view=auto
==============================================================================
--- lucene/cms/branches/solr_6058/content/latestversion.mdtext (added)
+++ lucene/cms/branches/solr_6058/content/latestversion.mdtext Wed Nov  5 15:40:20 2014
@@ -0,0 +1 @@
+4.10
\ No newline at end of file

Modified: lucene/cms/branches/solr_6058/content/solr/resources.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/content/solr/resources.mdtext?rev=1636899&r1=1636898&r2=1636899&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/content/solr/resources.mdtext (original)
+++ lucene/cms/branches/solr_6058/content/solr/resources.mdtext Wed Nov  5 15:40:20 2014
@@ -24,9 +24,14 @@ Copies of this documentation for the mos
 
 ### The Apache Solr Reference Guide ###
 
-Beginning with Solr 4.4, A detailed reference guide is also available as a [PDF download](https://www.apache.org/dyn/closer.cgi/lucene/solr/ref-guide/)
for each minor release.
+Beginning with Solr 4.4, a detailed reference guide is available online or as PDF downloads.
+
+[Officially Released Reference Guide for Solr {% include "content/latestversion.mdtext" %}](https://www.apache.org/dyn/closer.cgi/lucene/solr/ref-guide/)
+
+
+
+[Previous Releases](http://archive.apache.org/dist/lucene/solr/ref-guide/)
 
-Archives for all past versions of the Solr Reference Guide are available at [the Apache archives](http://archive.apache.org/dist/lucene/solr/ref-guide/).
 
 ### Additional Documentation ###
 

Modified: lucene/cms/branches/solr_6058/lib/path.pm
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/lib/path.pm?rev=1636899&r1=1636898&r2=1636899&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/lib/path.pm (original)
+++ lucene/cms/branches/solr_6058/lib/path.pm Wed Nov  5 15:40:20 2014
@@ -51,10 +51,16 @@ our @patterns = (
     #solrtwitter  => ASF::Value::Twitter->new(search => '#solr', limit => 3,
     #                                    localMode => $localMode),
   }],
-  [qr!solr\/features\.mdtext$!, main => { template => "solr-full-width.html"}],
-  [qr!solr\/resources\.mdtext$!, main => { template => "solr-resources.html"}],
-  [qr!solr\/tutorials\.mdtext$!, main => { template => "solr-tutorials.html"}],  
-    [qr@solr\/(?!index).*?\.mdtext$@, main => { template => "solr-page.html"}],
+  [qr!solr\/features\.mdtext$!, main => {
+    preprocess => 1,
+    template => "solr-full-width.html"}],
+  [qr!solr\/resources\.mdtext$!, main => {
+    preprocess => 1,
+    template => "solr-resources.html"}],
+  [qr!solr\/tutorials\.mdtext$!, main => {
+    preprocess => 1,
+    template => "solr-tutorials.html"}],
+  [qr@solr\/(?!index).*?\.mdtext$@, main => { template => "solr-page.html"}],
 
   [qr!pylucene/jcc/.*?\.mdtext$!, main => { template => "jcc-simple.html" }],
   [qr!pylucene/.*?\.mdtext$!, main => { template => "pylucene-simple.html" }],
@@ -80,6 +86,7 @@ our @patterns = (
 our %dependencies = (
     "/core/index.mdtext" => [qw!/core/features.mdtext!],
     "/index.mdtext"      => [qw!/mainnews.mdtext!],
+    "/solr/resources.mdtext"  =>  [qw!/latestversion.mdtext!],
     "/openrelevance/index.mdtext" => [qw!/openrelevance/orpnews.mdtext!],
     "/pylucene/index.mdtext"      => [qw!/pylucene/pynews.mdtext!],
 );

Modified: lucene/cms/branches/solr_6058/templates/solr-index.html
URL: http://svn.apache.org/viewvc/lucene/cms/branches/solr_6058/templates/solr-index.html?rev=1636899&r1=1636898&r2=1636899&view=diff
==============================================================================
--- lucene/cms/branches/solr_6058/templates/solr-index.html (original)
+++ lucene/cms/branches/solr_6058/templates/solr-index.html Wed Nov  5 15:40:20 2014
@@ -19,7 +19,7 @@
       <div class="row">
         <div class="large-10 large-offset-1 columns">
           <div class="annotation">
-            Apache Solr<span style="vertical-align: super; font-size: xx-small">TM</span>
{% include "_solr-version.html" %}
+            Apache Solr<span style="vertical-align: super; font-size: xx-small">TM</span>
{% include "../content/latestversion.mdtext" %}
           </div>
           <h1>
             Solr is the popular, blazing-fast, open source enterprise search platform built
on Apache Lucene.



Mime
View raw message