You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by al...@apache.org on 2012/11/30 21:34:27 UTC

svn commit: r1415842 - in /openjpa/site/trunk: build.sh content/documentation.mdtext post.build.fixes.sed

Author: allee8285
Date: Fri Nov 30 20:34:26 2012
New Revision: 1415842

URL: http://svn.apache.org/viewvc?rev=1415842&view=rev
Log:
CMS migration updates. Sample to use Markdown |table| syntax and post build fix sed script to add <td class="border"> atribute in generated table.

Added:
    openjpa/site/trunk/post.build.fixes.sed
Modified:
    openjpa/site/trunk/build.sh
    openjpa/site/trunk/content/documentation.mdtext

Modified: openjpa/site/trunk/build.sh
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/build.sh?rev=1415842&r1=1415841&r2=1415842&view=diff
==============================================================================
--- openjpa/site/trunk/build.sh (original)
+++ openjpa/site/trunk/build.sh Fri Nov 30 20:34:26 2012
@@ -19,3 +19,7 @@ MARKDOWN_SOCKET=${CMS_BUILD_PATH}/markdo
 
 MARKDOWN_SOCKET=${MARKDOWN_SOCKET} perl ${CMS_BUILD_PATH}/build_site.pl --source-base ${SOURCE} --target-base ${TARGET} 
 
+find ${TARGET}/content -name "*.html" -exec echo "sed -f `dirname $0`/post.build.fixes.sed '{}' > '{}.1' && mv -f '{}.1' '{}'"  \; > /tmp/post.build.fix.sh
+sh /tmp/post.build.fix.sh
+
+echo Post build fixes completed!
\ No newline at end of file

Modified: openjpa/site/trunk/content/documentation.mdtext
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/content/documentation.mdtext?rev=1415842&r1=1415841&r2=1415842&view=diff
==============================================================================
--- openjpa/site/trunk/content/documentation.mdtext (original)
+++ openjpa/site/trunk/content/documentation.mdtext Fri Nov 30 20:34:26 2012
@@ -8,12 +8,12 @@ The online OpenJPA documentation can be 
 <a name="Documentation-Latest(2.3.0-SNAPSHOT)"></a>
 ## Latest (2.3.0-SNAPSHOT)
 
-<!--
+ 
 | Version | HTML Manual | HTML Manual (Single Page) | PDF Manual | Javadocs | Schema |
 | ------- | ----------- | ------------------------- | ---------- | -------- | ------ |
 | Nightly build (trunk) | [manual](http://openjpa.apache.org/builds/latest/docs/docbook/manual/main.html)| [manual](http://openjpa.apache.org/builds/latest/docs/docbook/manual.html)| [manual](http://openjpa.apache.org/builds/latest/docs/docbook/manual.pdf)| [javadoc](http://openjpa.apache.org/builds/latest/docs/javadoc/index.html)| [schema](http://openjpa.apache.org/builds/latest/docs/schema/) |
--->
 
+<!--
 <table>
 <tr><th> Version </th><th> HTML Manual </th><th> HTML Manual (Single Page) </th><th> PDF Manual </th><th>
 Javadocs </th><th> Schema </th></tr>
@@ -25,10 +25,17 @@ Javadocs </th><th> Schema </th></tr>
  </td><td class="border"> <a href="http://openjpa.apache.org/builds/latest/docs/schema/">schema</a>
  </td></tr>
 </table>
+-->
 
 <a name="Documentation-OpenJPA2.2.xreleases"></a>
 ## OpenJPA 2.2.x releases
 
+| Version | HTML Manual | HTML Manual (Single Page) | PDF Manual | Javadocs |
+| ------- | ----------- | ------------------------- | ---------- | -------- |
+| OpenJPA 2.2.1-SNAPSHOT | [manual](http://openjpa.apache.org/builds/apache-openjpa-2.2.1-SNAPSHOT/docs/docbook/manual/main.html) | [manual](http://openjpa.apache.org/builds/apache-openjpa-2.2.1-SNAPSHOT/docs/docbook/manual.html) | [manual](http://openjpa.apache.org/builds/apache-openjpa-2.2.1-SNAPSHOT/docs/docbook/manual.pdf) | [javadoc](http://openjpa.apache.org/builds/apache-openjpa-2.2.1-SNAPSHOT/docs/javadoc/index.html) |
+| OpenJPA 2.2.0 | [manual](http://openjpa.apache.org/builds/2.2.0/apache-openjpa/docs/main.html) | [manual](http://openjpa.apache.org/builds/2.2.0/apache-openjpa/docs/manual.html) | [manual](http://openjpa.apache.org/builds/2.2.0/apache-openjpa/docs/manual.pdf) | [javadoc](http://openjpa.apache.org/builds/2.2.0/apidocs/index.html) |
+
+<!--
 <table>
 <tr><th> Version </th><th> HTML Manual </th><th> HTML Manual (Single Page) </th><th> PDF Manual </th><th>
 Javadocs </th></tr>
@@ -45,6 +52,7 @@ Javadocs </th></tr>
  </td><td class="border"> <a href="http://openjpa.apache.org/builds/2.2.0/apidocs/index.html">javadoc</a>
  </td></tr>
 </table>
+-->
 
 <a name="Documentation-OpenJPA2.1.xreleases"></a>
 ## OpenJPA 2.1.x releases

Added: openjpa/site/trunk/post.build.fixes.sed
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/post.build.fixes.sed?rev=1415842&view=auto
==============================================================================
--- openjpa/site/trunk/post.build.fixes.sed (added)
+++ openjpa/site/trunk/post.build.fixes.sed Fri Nov 30 20:34:26 2012
@@ -0,0 +1,3 @@
+# s/<a href="\/">Home<\/a>/<a href="index.html">Home<\/a>/
+# s/\&nbsp;\&raquo\&nbsp;<a href="\/\(.*\)">/\&nbsp;\&raquo\&nbsp;<a href="\1">/
+s/<td>/<td class="border">/