Fixed issue that accidentally caused non-source code blocks to slip into the new tabbified view. cc/ @robertdale
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/9c7b5fc5 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/9c7b5fc5 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/9c7b5fc5 Branch: refs/heads/TINKERPOP-1447 Commit: 9c7b5fc528408399540751f1c0adbabde581e9f8 Parents: 2c762c1 Author: Daniel Kuppitz <[email protected]> Authored: Tue Jan 2 10:41:14 2018 -0700 Committer: Daniel Kuppitz <[email protected]> Committed: Wed Jan 24 14:14:11 2018 -0700 ---------------------------------------------------------------------- docs/preprocessor/awk/tabify.awk | 4 ++-- docs/src/dev/provider/index.asciidoc | 4 ++-- docs/src/recipes/index.asciidoc | 4 ++-- docs/src/reference/the-graph.asciidoc | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/9c7b5fc5/docs/preprocessor/awk/tabify.awk ---------------------------------------------------------------------- diff --git a/docs/preprocessor/awk/tabify.awk b/docs/preprocessor/awk/tabify.awk index bc8d644..df92734 100644 --- a/docs/preprocessor/awk/tabify.awk +++ b/docs/preprocessor/awk/tabify.awk @@ -61,7 +61,7 @@ BEGIN { code = "" } -/^\[source,/ { +/^\[source,(csharp|groovy|java|python)/ { if (status == 3) { status = 1 lang = gensub(/^\[source,([^\]]+).*/, "\\1", "g", $0) @@ -69,7 +69,7 @@ BEGIN { } } -! /^\[source,/ { +! /^\[source,(csharp|groovy|java|python)/ { if (status == 3 && $0 != "") { print_tabs(next_id, tabs, blocks) next_id = next_id + length(tabs) http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/9c7b5fc5/docs/src/dev/provider/index.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/dev/provider/index.asciidoc b/docs/src/dev/provider/index.asciidoc index 5bc4d9e..2a3fe04 100644 --- a/docs/src/dev/provider/index.asciidoc +++ b/docs/src/dev/provider/index.asciidoc @@ -611,7 +611,7 @@ features it implements) or should not otherwise be executed. It is possible for by using the `@Graph.OptOut` annotation. The following is an example of this annotation usage as taken from `HadoopGraph`: -[source, java] +[source,java] ---- @Graph.OptIn(Graph.OptIn.SUITE_PROCESS_STANDARD) @Graph.OptIn(Graph.OptIn.SUITE_PROCESS_COMPUTER) @@ -648,7 +648,7 @@ Also note that some of the tests in the Gremlin Test Suite are parameterized tes specificity to be properly ignored. To ignore these types of tests, examine the name template of the parameterized tests. It is defined by a Java annotation that looks like this: -[source, java] +[source,java] @Parameterized.Parameters(name = "expect({0})") The annotation above shows that the name of each parameterized test will be prefixed with "expect" and have http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/9c7b5fc5/docs/src/recipes/index.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/recipes/index.asciidoc b/docs/src/recipes/index.asciidoc index c59cc89..3fdee22 100644 --- a/docs/src/recipes/index.asciidoc +++ b/docs/src/recipes/index.asciidoc @@ -90,12 +90,12 @@ prior to submitting a recipe. To contribute a recipe, first clone the repository: -[source, shell] +[source,shell] git clone https://github.com/apache/tinkerpop.git The recipes can be found in this directory: -[source, shell] +[source,shell] ls docs/src/recipes Each recipe exists within a separate `.asciidoc` file. The file name should match the name of the recipe. Recipe names http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/9c7b5fc5/docs/src/reference/the-graph.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/reference/the-graph.asciidoc b/docs/src/reference/the-graph.asciidoc index 339b392..fa8cdb5 100644 --- a/docs/src/reference/the-graph.asciidoc +++ b/docs/src/reference/the-graph.asciidoc @@ -721,7 +721,7 @@ f.close() Creating a GraphSON 2.0 mapper is done by calling `.version(GraphSONVersion.V2_0)` on the mapper builder. Here's is the example output from the code above: -[source, json] +[source,json] ---- { "@type": "g:Vertex",
