[ 
https://issues.apache.org/jira/browse/CAMEL-15173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132662#comment-17132662
 ] 

Zoran Regvart commented on CAMEL-15173:
---------------------------------------

We have a warning printed at the build of the website for one of the missing 
examples:
{code}
asciidoctor: WARNING: content-enricher.adoc: line 48: tag 'example' not found 
in include file: 
modules/eips/examples/core/camel-core/src/test/java/org/apache/camel/processor/TransformViaDSLTest.java
asciidoctor: WARNING: content-enricher.adoc: line 56: tag 'example' not found 
in include file: 
modules/eips/examples/core/camel-core/src/test/java/org/apache/camel/processor/TransformTest.java
{code}

I would assume that other cases of this issue were caused by omiting the 
examples when we migrated the documentation to git from wiki, could be that the 
tooling we used did not successfuly detect the examples. For example in this 
case: 
https://github.com/apache/camel/blob/909f6c0bb52dcc2076c13b3741ecba9003493e38/components/camel-spring-security/src/main/docs/spring-security.adoc#L75-L81

> Example code missing in several pages
> -------------------------------------
>
>                 Key: CAMEL-15173
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15173
>             Project: Camel
>          Issue Type: Task
>          Components: documentation, website
>    Affects Versions: 3.2.0, 3.3.0
>            Reporter: Dietrich Schulten
>            Priority: Minor
>         Attachments: image-2020-06-10-10-29-06-213.png
>
>
> Example where the example code section is missing
> [Spring-Security|https://camel.apache.org/components/latest/others/spring-security.html]
> !image-2020-06-10-10-29-06-213.png!
>   
> Correct text can be seen on [Talend 
> website|https://help.talend.com/reader/SUzvVjxkFWs4p6BXVXwyHQ/E0qjc_WQbdTBuHfbzFOQSQ]
> I have stumbled upon other examples where I resorted to the Talend site, but 
> I can't find them just now. They are not easy to spot.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to