chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1071672 - in /incubator/chemistry/site/trunk: content/ lib/ templates/
Date Thu, 17 Feb 2011 16:08:13 GMT
Author: nick
Date: Thu Feb 17 16:08:12 2011
New Revision: 1071672

URL: http://svn.apache.org/viewvc?rev=1071672&view=rev
Log:
Allow specifying a parent breadcrumb for things not inside a subdirectory, and add the trademark
footer to the template

Modified:
    incubator/chemistry/site/trunk/content/how-to-build-a-server.mdtext
    incubator/chemistry/site/trunk/content/opencmis-api-examples.mdtext
    incubator/chemistry/site/trunk/content/opencmis-browser.mdtext
    incubator/chemistry/site/trunk/content/opencmis-client-api.mdtext
    incubator/chemistry/site/trunk/content/opencmis-client-bindings.mdtext
    incubator/chemistry/site/trunk/content/opencmis-cookbook.mdtext
    incubator/chemistry/site/trunk/content/opencmis-fileshare-repository.mdtext
    incubator/chemistry/site/trunk/content/opencmis-how-to-build.mdtext
    incubator/chemistry/site/trunk/content/opencmis-inmemory-repository.mdtext
    incubator/chemistry/site/trunk/content/opencmis-maven-release-documentation.mdtext
    incubator/chemistry/site/trunk/content/opencmis-modules.mdtext
    incubator/chemistry/site/trunk/content/opencmis-release-documentation.mdtext
    incubator/chemistry/site/trunk/content/opencmis-server-framework.mdtext
    incubator/chemistry/site/trunk/content/opencmis-session-parameters.mdtext
    incubator/chemistry/site/trunk/content/opencmis-swing-client.mdtext
    incubator/chemistry/site/trunk/content/queryintegration.mdtext
    incubator/chemistry/site/trunk/lib/view.pm
    incubator/chemistry/site/trunk/templates/standard.html

Modified: incubator/chemistry/site/trunk/content/how-to-build-a-server.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/how-to-build-a-server.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/how-to-build-a-server.mdtext (original)
+++ incubator/chemistry/site/trunk/content/how-to-build-a-server.mdtext Thu Feb 17 16:08:12
2011
@@ -1,4 +1,6 @@
 Title: How To Build A Server
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="HowToBuildAServer-HowtocreateaCMISserverusingOpenCMIS"></a>
 # How to create a CMIS server using OpenCMIS
 

Modified: incubator/chemistry/site/trunk/content/opencmis-api-examples.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-api-examples.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-api-examples.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-api-examples.mdtext Thu Feb 17 16:08:12
2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS API Examples
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMISAPIExamples-OpenCMISAPIExamples"></a>
 # OpenCMIS API Examples
 

Modified: incubator/chemistry/site/trunk/content/opencmis-browser.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-browser.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-browser.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-browser.mdtext Thu Feb 17 16:08:12 2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS Browser
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMISBrowser-OpenCMISBrowser"></a>
 # OpenCMIS Browser
 

Modified: incubator/chemistry/site/trunk/content/opencmis-client-api.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-client-api.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-client-api.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-client-api.mdtext Thu Feb 17 16:08:12
2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS Client API
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMISClientAPI-OpenCMISClientAPI"></a>
 # OpenCMIS Client API
 

Modified: incubator/chemistry/site/trunk/content/opencmis-client-bindings.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-client-bindings.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-client-bindings.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-client-bindings.mdtext Thu Feb 17 16:08:12
2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS Client Bindings
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMISClientBindings-OpenCMISClientBindings"></a>
 # OpenCMIS Client Bindings
 

Modified: incubator/chemistry/site/trunk/content/opencmis-cookbook.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-cookbook.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-cookbook.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-cookbook.mdtext Thu Feb 17 16:08:12 2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS Cookbook
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMISCookbook-OpenCMISCookbook"></a>
 # OpenCMIS Cookbook
 

Modified: incubator/chemistry/site/trunk/content/opencmis-fileshare-repository.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-fileshare-repository.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-fileshare-repository.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-fileshare-repository.mdtext Thu Feb 17
16:08:12 2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS FileShare Repository
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMISFileShareRepository-OpenCMISFileShareRepository"></a>
 # OpenCMIS FileShare Repository
 

Modified: incubator/chemistry/site/trunk/content/opencmis-how-to-build.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-how-to-build.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-how-to-build.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-how-to-build.mdtext Thu Feb 17 16:08:12
2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS how-to-build
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMIShow-to-build-HowtobuildOpenCMIS"></a>
 # How to build OpenCMIS
 

Modified: incubator/chemistry/site/trunk/content/opencmis-inmemory-repository.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-inmemory-repository.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-inmemory-repository.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-inmemory-repository.mdtext Thu Feb 17
16:08:12 2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS InMemory Repository
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMISInMemoryRepository-OpenCMISInMemoryRepository"></a>
 # OpenCMIS InMemory Repository
 

Modified: incubator/chemistry/site/trunk/content/opencmis-maven-release-documentation.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-maven-release-documentation.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-maven-release-documentation.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-maven-release-documentation.mdtext Thu
Feb 17 16:08:12 2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS Maven Release Documentation
+Breadcrumb: opencmis:OpenCMIS
+
 * [OpenCMIS Release Documentation](#OpenCMISMavenReleaseDocumentation-OpenCMISReleaseDocumentation)
    * [Introduction](#OpenCMISMavenReleaseDocumentation-Introduction)
    * [Build Environments](#OpenCMISMavenReleaseDocumentation-BuildEnvironments)

Modified: incubator/chemistry/site/trunk/content/opencmis-modules.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-modules.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-modules.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-modules.mdtext Thu Feb 17 16:08:12 2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS Modules
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMISModules-OpenCMISModules"></a>
 # OpenCMIS Modules
 

Modified: incubator/chemistry/site/trunk/content/opencmis-release-documentation.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-release-documentation.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-release-documentation.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-release-documentation.mdtext Thu Feb 17
16:08:12 2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS Release Documentation
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMISReleaseDocumentation-OpenCMISReleaseDocumentation"></a>
 # OpenCMIS Release Documentation
 

Modified: incubator/chemistry/site/trunk/content/opencmis-server-framework.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-server-framework.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-server-framework.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-server-framework.mdtext Thu Feb 17 16:08:12
2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS Server Framework
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMISServerFramework-OpenCMISServerFramework"></a>
 # OpenCMIS Server Framework
 

Modified: incubator/chemistry/site/trunk/content/opencmis-session-parameters.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-session-parameters.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-session-parameters.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-session-parameters.mdtext Thu Feb 17 16:08:12
2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS Session Parameters
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMISSessionParameters-OpenCMISSessionParameters"></a>
 # OpenCMIS Session Parameters
 

Modified: incubator/chemistry/site/trunk/content/opencmis-swing-client.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/opencmis-swing-client.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/opencmis-swing-client.mdtext (original)
+++ incubator/chemistry/site/trunk/content/opencmis-swing-client.mdtext Thu Feb 17 16:08:12
2011
@@ -1,4 +1,6 @@
 Title: OpenCMIS Swing Client
+Breadcrumb: opencmis:OpenCMIS
+
 <a name="OpenCMISSwingClient-OpenCMISSwingClient"></a>
 # OpenCMIS Swing Client
 

Modified: incubator/chemistry/site/trunk/content/queryintegration.mdtext
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/content/queryintegration.mdtext?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/content/queryintegration.mdtext (original)
+++ incubator/chemistry/site/trunk/content/queryintegration.mdtext Thu Feb 17 16:08:12 2011
@@ -1,4 +1,5 @@
 Title: QueryIntegration
+Breadcrumb: opencmis:OpenCMIS
 
 <h3 style="color:#ff0000">Status: Experimental</h3>
 

Modified: incubator/chemistry/site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/lib/view.pm?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/lib/view.pm (original)
+++ incubator/chemistry/site/trunk/lib/view.pm Thu Feb 17 16:08:12 2011
@@ -66,11 +66,24 @@ sub breadcrumbs {
     my @rv;
     my $relpath = "/";
     for(my $i=0; $i<scalar @paths; $i++) {
+        if($i == (scalar @paths)-1 && $headerref->{breadcrumb}) {
+           my $bc = $headerref->{breadcrumb};
+           $bc =~ s/^\s+//;
+           $bc =~ s/\s+$//;
+           if($bc =~ /\:/) {
+              $bc =~ /^(.*?)\:(.*?)$/;
+              push @rv, qq(<a href="$relpath$1.html">$2</a>)
+           } else {
+              push @rv, qq(<a href="$relpath$bc">$bc</a>)
+           }
+        }
+
         my $title = $titles[$i];
         $relpath .= $paths[$i];
         push @rv, qq(<a href="$relpath">\u$title</a>);
         unless($relpath eq "/") { $relpath .= "/"; }
     }
+
     return join "&nbsp;&raquo&nbsp;", @rv;
 }
 

Modified: incubator/chemistry/site/trunk/templates/standard.html
URL: http://svn.apache.org/viewvc/incubator/chemistry/site/trunk/templates/standard.html?rev=1071672&r1=1071671&r2=1071672&view=diff
==============================================================================
--- incubator/chemistry/site/trunk/templates/standard.html (original)
+++ incubator/chemistry/site/trunk/templates/standard.html Thu Feb 17 16:08:12 2011
@@ -114,7 +114,14 @@ Apache Chemistry - {% block title %}{% e
        <div id="footer">
        <!-- Footer -->
        <div id="site-footer">
-          TODO: Add the trademark information here...
+          {% block footer %}
+          Apache Chemistry, Apache, the Apache feather logo, and the Apache 
+          Chemistry project logo are trademarks of The Apache Software 
+          Foundation.<br /><br />
+          Content Management Interoperability Services (CMIS) is an
+          <a href="http://www.oasis-open.org/committees/cmis/">OASIS</a>
+          specification.
+          {% endblock %}
        </div>
        <!-- Footer -->
        </div>



Mime
View raw message