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/1760fd60 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/1760fd60 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/1760fd60 Branch: refs/heads/master Commit: 1760fd604719fafa5f2b533e67aca6904ba81e16 Parents: bd1dd8b Author: Alex Heneveld <[email protected]> Authored: Thu Sep 3 03:16:09 2015 +0100 Committer: Alex Heneveld <[email protected]> Committed: Thu Sep 3 03:23:56 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/1760fd60/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/1760fd60/docs/_build/build.sh ---------------------------------------------------------------------- diff --git a/docs/_build/build.sh b/docs/_build/build.sh index 055936e..e5d196d 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"
