Adding raw and endraw to script languages avoiding error in Gitbook Generation


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/432d41d3
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/432d41d3
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/432d41d3

Branch: refs/heads/master
Commit: 432d41d33afd9243f655840086a784b90fdcaa96
Parents: a25e05d
Author: Andrea Cosentino <anco...@gmail.com>
Authored: Thu Aug 25 12:22:42 2016 +0200
Committer: Andrea Cosentino <anco...@gmail.com>
Committed: Thu Aug 25 12:23:34 2016 +0200

----------------------------------------------------------------------
 components/camel-script/src/main/docs/javaScript-language.adoc | 2 ++
 components/camel-script/src/main/docs/php-language.adoc        | 2 ++
 components/camel-script/src/main/docs/python-language.adoc     | 2 ++
 components/camel-script/src/main/docs/ruby-language.adoc       | 2 ++
 4 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/432d41d3/components/camel-script/src/main/docs/javaScript-language.adoc
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/docs/javaScript-language.adoc 
b/components/camel-script/src/main/docs/javaScript-language.adoc
index cbb267e..b93e97c 100644
--- a/components/camel-script/src/main/docs/javaScript-language.adoc
+++ b/components/camel-script/src/main/docs/javaScript-language.adoc
@@ -127,9 +127,11 @@ so. +
 placeholder, which key is provided in a header named "foo".
 
 [source,java]
+{% raw %}
 
--------------------------------------------------------------------------------------------------------------
 .setHeader("myHeader").groovy("context.resolvePropertyPlaceholders('{{' + 
request.headers.get('foo') + '}}')")
 
--------------------------------------------------------------------------------------------------------------
+{% endraw %}
 
 From Camel 2.9 onwards you can now use the properties function and the
 same example is simpler:

http://git-wip-us.apache.org/repos/asf/camel/blob/432d41d3/components/camel-script/src/main/docs/php-language.adoc
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/docs/php-language.adoc 
b/components/camel-script/src/main/docs/php-language.adoc
index 5aa086d..4f983a0 100644
--- a/components/camel-script/src/main/docs/php-language.adoc
+++ b/components/camel-script/src/main/docs/php-language.adoc
@@ -91,9 +91,11 @@ so. +
 placeholder, which key is provided in a header named "foo".
 
 [source,java]
+{% raw %}
 
--------------------------------------------------------------------------------------------------------------
 .setHeader("myHeader").groovy("context.resolvePropertyPlaceholders('{{' + 
request.headers.get('foo') + '}}')")
 
--------------------------------------------------------------------------------------------------------------
+{% endraw %}
 
 From Camel 2.9 onwards you can now use the properties function and the
 same example is simpler:

http://git-wip-us.apache.org/repos/asf/camel/blob/432d41d3/components/camel-script/src/main/docs/python-language.adoc
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/docs/python-language.adoc 
b/components/camel-script/src/main/docs/python-language.adoc
index f4a5a21..b7417ee 100644
--- a/components/camel-script/src/main/docs/python-language.adoc
+++ b/components/camel-script/src/main/docs/python-language.adoc
@@ -126,9 +126,11 @@ so. +
 placeholder, which key is provided in a header named "foo".
 
 [source,java]
+{% raw %}
 
--------------------------------------------------------------------------------------------------------------
 .setHeader("myHeader").groovy("context.resolvePropertyPlaceholders('{{' + 
request.headers.get('foo') + '}}')")
 
--------------------------------------------------------------------------------------------------------------
+{% endraw %}
 
 From Camel 2.9 onwards you can now use the properties function and the
 same example is simpler:

http://git-wip-us.apache.org/repos/asf/camel/blob/432d41d3/components/camel-script/src/main/docs/ruby-language.adoc
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/docs/ruby-language.adoc 
b/components/camel-script/src/main/docs/ruby-language.adoc
index 65feec3..38dd01d 100644
--- a/components/camel-script/src/main/docs/ruby-language.adoc
+++ b/components/camel-script/src/main/docs/ruby-language.adoc
@@ -126,9 +126,11 @@ so. +
 placeholder, which key is provided in a header named "foo".
 
 [source,java]
+{% raw %}
 
--------------------------------------------------------------------------------------------------------------
 .setHeader("myHeader").groovy("context.resolvePropertyPlaceholders('{{' + 
request.headers.get('foo') + '}}')")
 
--------------------------------------------------------------------------------------------------------------
+{% endraw %}
 
 From Camel 2.9 onwards you can now use the properties function and the
 same example is simpler:

Reply via email to