minor tweaks to doc build process advice
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/a980d40f Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/a980d40f Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/a980d40f Branch: refs/heads/0.8.0-incubating Commit: a980d40f215c1c7d53db8164d5ea9a7ff77a82c1 Parents: fad508f Author: Alex Heneveld <[email protected]> Authored: Thu Sep 3 03:16:09 2015 +0100 Committer: Alex Heneveld <[email protected]> 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/brooklyn-docs/blob/a980d40f/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/brooklyn-docs/blob/a980d40f/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"
