You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2015/03/27 18:50:10 UTC

incubator-tinkerpop git commit: Changed AsciiDocs pre-processor output directory.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/asciidocs [created] af5215d2a


Changed AsciiDocs pre-processor output directory.

.asciidoc files, as well as static files + stylesheets, are now stored / copied to PROJECT_HOME/target/postprocess-asciidoc/.


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

Branch: refs/heads/asciidocs
Commit: af5215d2a46eb7d4f95b8c0a478d87b6fee14396
Parents: 820a0a5
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Fri Mar 27 18:39:26 2015 +0100
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Fri Mar 27 18:39:26 2015 +0100

----------------------------------------------------------------------
 docs/preprocessor/preprocess.sh | 7 ++++++-
 pom.xml                         | 2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/af5215d2/docs/preprocessor/preprocess.sh
----------------------------------------------------------------------
diff --git a/docs/preprocessor/preprocess.sh b/docs/preprocessor/preprocess.sh
index 0f06fe4..592c23c 100755
--- a/docs/preprocessor/preprocess.sh
+++ b/docs/preprocessor/preprocess.sh
@@ -27,10 +27,15 @@ if [ ! -f bin/gremlin.sh ]; then
   exit 1
 fi
 
+mkdir -p target/postprocess-asciidoc
+
+rm -rf target/postprocess-asciidoc/*
+cp -R docs/{static,stylesheets} target/postprocess-asciidoc/
+
 for input in $(find docs/src/ -name "*.asciidoc")
 do
   name=`basename $input`
-  output="docs/${name}"
+  output="target/postprocess-asciidoc/${name}"
   echo "${input} > ${output}"
   if [ $(grep -c '^\[gremlin' $input) -gt 0 ]; then
     bin/gremlin.sh -e docs/preprocessor/processor.groovy $input > $output

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/af5215d2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 30338a2..4064d9d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -561,7 +561,7 @@ limitations under the License.
             </activation>
 
             <properties>
-                <asciidoc.source.dir>${project.basedir}/docs</asciidoc.source.dir>
+                <asciidoc.source.dir>${project.basedir}/target/postprocess-asciidoc</asciidoc.source.dir>
                 <asciidoc.input.dir>${project.basedir}/target/doc-source</asciidoc.input.dir>
                 <asciidoctor.style.dir>${asciidoc.input.dir}/stylesheets</asciidoctor.style.dir>
                 <htmlsingle.output.dir>${project.basedir}/target/docs/htmlsingle</htmlsingle.output.dir>