tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1197409 - /openejb/site/trunk/content/dev/website-dev.mdtext
Date Fri, 04 Nov 2011 06:24:40 GMT
Author: dblevins
Date: Fri Nov  4 06:24:40 2011
New Revision: 1197409

URL: http://svn.apache.org/viewvc?rev=1197409&view=rev
Log:
info on how to publish

Modified:
    openejb/site/trunk/content/dev/website-dev.mdtext

Modified: openejb/site/trunk/content/dev/website-dev.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/dev/website-dev.mdtext?rev=1197409&r1=1197408&r2=1197409&view=diff
==============================================================================
--- openejb/site/trunk/content/dev/website-dev.mdtext (original)
+++ openejb/site/trunk/content/dev/website-dev.mdtext Fri Nov  4 06:24:40 2011
@@ -14,6 +14,15 @@ For example, `documentation.mdtext` show
 
 [http://openejb.staging.apache.org/documentation.html]
 
+# Publishing
+
+Simply visit [https://cms.apache.org/openejb/publish](https://cms.apache.org/openejb/publish)
+
+It will prompt you for user/pass information and make you review the changes.  Enter the
optional log message and click "sumbit", then done!
+
+The login information is cached for a while, so you won't have to enter user/pass information
each time.
+
+
 # Building Locally <small>optional</small>
 
 Should you want to build the site locally, you can do so pretty easily with the right perl
modules installed.
@@ -36,4 +45,28 @@ install just those things.
     cd apache-cms-source
     ./build_site.pl  --source-base ~/path/to/website-source --target-base /tmp/site
 
-All the generated html content will be under `/tmp/site/content`
\ No newline at end of file
+All the generated html content will be under `/tmp/site/content`
+
+# Cleaning out old files
+
+Currently, if you've used svn directly to delete a file, it won't be deleted from the stanging
repo.
+
+You can however directly checkout the staging repo and modify its contents.
+
+A little script can help keep the current docs in sync with the generated docs:
+
+    #!/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" ] && continue
+        [ -f "${x/.html/.mdtext}" ] && continue
+        [ -f "${x/.html/.md}" ] && continue
+
+        echo "$n"
+        svn rm "$n"
+    done
+    svn ci -m "cleaning out docs removed from main site source" staging



Mime
View raw message