tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r798023 - in /websites/production/openejb: ./ content/dev/website-dev.html
Date Fri, 04 Nov 2011 06:27:19 GMT
Author: dblevins
Date: Fri Nov  4 06:27:19 2011
New Revision: 798023

Log:
Publishing merge to openejb site by dblevins

Modified:
    websites/production/openejb/   (props changed)
    websites/production/openejb/content/dev/website-dev.html

Propchange: websites/production/openejb/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Nov  4 06:27:19 2011
@@ -1 +1 @@
-/websites/staging/openejb/trunk:790824-798020
+/websites/staging/openejb/trunk:790824-798022

Modified: websites/production/openejb/content/dev/website-dev.html
==============================================================================
--- websites/production/openejb/content/dev/website-dev.html (original)
+++ websites/production/openejb/content/dev/website-dev.html Fri Nov  4 06:27:19 2011
@@ -87,6 +87,14 @@ site within seconds.</p>
 
 <p>[http://openejb.staging.apache.org/documentation.html]</p>
 
+<h1>Publishing</h1>
+
+<p>Simply visit <a href="https://cms.apache.org/openejb/publish">https://cms.apache.org/openejb/publish</a></p>
+
+<p>It will prompt you for user/pass information and make you review the changes.  Enter
the optional log message and click "sumbit", then done!</p>
+
+<p>The login information is cached for a while, so you won't have to enter user/pass
information each time.</p>
+
 <h1>Building Locally <small>optional</small></h1>
 
 <p>Should you want to build the site locally, you can do so pretty easily with the
right perl modules installed.</p>
@@ -114,6 +122,31 @@ install just those things.</p>
 
 <p>All the generated html content will be under <code>/tmp/site/content</code></p>
 
+<h1>Cleaning out old files</h1>
+
+<p>Currently, if you've used svn directly to delete a file, it won't be deleted from
the stanging repo.</p>
+
+<p>You can however directly checkout the staging repo and modify its contents.</p>
+
+<p>A little script can help keep the current docs in sync with the generated docs:</p>
+
+<pre><code>#!/bin/bash
+
+svn co http://svn.apache.org/repos/asf/openejb/site/trunk/content current
+svn co https://svn.apache.org/repos/infra/websites/staging/openejb/trunk/content staging
+
+find staging -name '*.html' | while read n; do
+    x="${n/staging\//current/}"
+    [ -f "$x" ] &amp;&amp; continue
+    [ -f "${x/.html/.mdtext}" ] &amp;&amp; continue
+    [ -f "${x/.html/.md}" ] &amp;&amp; continue
+
+    echo "$n"
+    svn rm "$n"
+done
+svn ci -m "cleaning out docs removed from main site source" staging
+</code></pre>
+
 
 
 



Mime
View raw message