You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2016/09/01 17:36:55 UTC
tinkerpop git commit: Now that there is an index.html file in root of
/src in docs, it can't look for asciidocs in subdirs CTR
Repository: tinkerpop
Updated Branches:
refs/heads/tp31 998157d45 -> a26d6d828
Now that there is an index.html file in root of /src in docs, it can't look for asciidocs in subdirs CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a26d6d82
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a26d6d82
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a26d6d82
Branch: refs/heads/tp31
Commit: a26d6d82873471cd70e3ef9528676396a9976310
Parents: 998157d
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu Sep 1 13:35:47 2016 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu Sep 1 13:35:47 2016 -0400
----------------------------------------------------------------------
docs/preprocessor/preprocess.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a26d6d82/docs/preprocessor/preprocess.sh
----------------------------------------------------------------------
diff --git a/docs/preprocessor/preprocess.sh b/docs/preprocessor/preprocess.sh
index 0e9fa73..808eacd 100755
--- a/docs/preprocessor/preprocess.sh
+++ b/docs/preprocessor/preprocess.sh
@@ -130,7 +130,7 @@ echo "============================"
ec=0
for subdir in $(find "${TP_HOME}/docs/src/" -name index.asciidoc | xargs -n1 dirname)
do
- find "${subdir}" -name "*.asciidoc" |
+ find "${subdir}" -maxdepth 1 -name "*.asciidoc" |
xargs -n1 basename |
xargs -n1 -I {} echo "echo -ne {}' '; (grep -n {} ${subdir}/index.asciidoc || echo 0) | head -n1 | cut -d ':' -f1" | /bin/bash | sort -nk2 | cut -d ' ' -f1 |
xargs -n1 -I {} echo "${subdir}/{}" |