[
https://issues.apache.org/jira/browse/TINKERPOP-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305824#comment-15305824
]
Daniel Kuppitz commented on TINKERPOP-1314:
-------------------------------------------
CTR'ed this one. Tested on a working and on a failing branch. It's all solid
now. I've made it so that nothing changes for the user (docs writer).
tp31:
https://github.com/apache/incubator-tinkerpop/commit/96ee0ba780ed06ff54b29814c96b59fcbba575e8
master:
https://github.com/apache/incubator-tinkerpop/commit/670bc69d6a1cc2ad7cfaef522952af65ed9063d5
> Improve error detection in docs preprocessor
> --------------------------------------------
>
> Key: TINKERPOP-1314
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1314
> Project: TinkerPop
> Issue Type: Improvement
> Components: documentation
> Reporter: Daniel Kuppitz
> Assignee: Daniel Kuppitz
> Fix For: 3.1.3, 3.2.1
>
>
> Just recently a bug slipped through, because the docs preprocessor did not
> recognize an error. In order to make the error detection more robust,
> asciidoc files should all end with a common line (something like {{// LAST
> LINE}}).
> If that line doesn't appear in the output file, we can be sure that something
> went wrong.
> This commit can be used to test the approach:
> https://github.com/apache/incubator-tinkerpop/commit/b72ea666ce18920a8dd7d1d4c30bbe029fe4ae80
> {{bin/process-docs.sh -f docs/src/reference/implementations-hadoop.asciidoc}}
> {{bin/process-docs.sh}} should have a non-0 exit code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)