You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2015/09/04 15:36:53 UTC

[02/11] incubator-brooklyn git commit: minor tweaks to doc build process advice

minor tweaks to doc build process advice


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/ec25e649
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/ec25e649
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/ec25e649

Branch: refs/heads/0.8.0-incubating
Commit: ec25e649830e4149aadb0c853087314c544cbd2c
Parents: 32c57ab
Author: Alex Heneveld <al...@cloudsoft.io>
Authored: Thu Sep 3 03:16:09 2015 +0100
Committer: Alex Heneveld <al...@cloudsoft.io>
Committed: Thu Sep 3 03:16:09 2015 +0100

----------------------------------------------------------------------
 docs/README.md       | 3 ++-
 docs/_build/build.sh | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/ec25e649/docs/README.md
----------------------------------------------------------------------
diff --git a/docs/README.md b/docs/README.md
index 8728afc..ade8824 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -247,7 +247,8 @@ you've done that these commands might be useful:
 
     cd ${BROOKLYN_SITE_DIR-../../incubator-brooklyn-site-public}
     svn add * --force
-    svn rm $( svn status | sed -e '/^!/!d' -e 's/^!//' )
+    export DELETIONS=$( svn status | sed -e '/^!/!d' -e 's/^!//' )
+    if [ ! -z "${DELETIONS}" ] ; then svn rm ${DELETIONS} ; fi
 
 Then check in the changes (probably picking a better message than shown here):
 

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/ec25e649/docs/_build/build.sh
----------------------------------------------------------------------
diff --git a/docs/_build/build.sh b/docs/_build/build.sh
index 9024a6a..cb57461 100755
--- a/docs/_build/build.sh
+++ b/docs/_build/build.sh
@@ -170,7 +170,7 @@ function test_site() {
     return
   fi
   echo "Running htmlproof on _site"
-  mkdir -p target
+  mkdir -p _build/target
   HTMLPROOF_LOG="_build/target/htmlproof.log"
   if [ "$QUICK_HTMLPROOF" == "true" ]; then
     HTMLPROOF_OPTS="$HTMLPROOF_OPTS --disable_external"