You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/11/27 12:10:00 UTC

[jira] [Resolved] (CAMEL-12042) Rendering of code/snippets inside documentation is broken

     [ https://issues.apache.org/jira/browse/CAMEL-12042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-12042.
---------------------------------
    Resolution: Invalid

The old wiki system is deprecated, a new website and documentation is in the works.

You can help with the new docs which are the adoc files in the source code you can find in the src/main/docs folder of the various Camel components.

> Rendering of code/snippets inside documentation is broken
> ---------------------------------------------------------
>
>                 Key: CAMEL-12042
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12042
>             Project: Camel
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Simon Kölsch
>            Priority: Minor
>
> The rendering of code snippets on the camel homepage is broken.
> For example see http://camel.apache.org/polling-consumer.html
> I expect the following should be java syntax highlighting?
> {{ javaEndpoint endpoint = context.getEndpoint("activemq:my.queue"); PollingConsumer consumer = endpoint.createPollingConsumer(); Exchange exchange = consumer.receive();}}
> Also further down the page I get:
> {{The example below illustrates this:{snippet:id=e1|lang=xml|url=camel/components/camel-spring/src/test/resources/org/apache/camel/spring/SpringConsumerTemplateTest-context.xml}}}
> I'm not sure if this is the right place to report this, but since the homepage is part of the github repository it seems to make sense using the projects bug tracker.
> I checked the Gitter history and had a look at the ML and nobody seems to mention this.
> I've also tried to search on JIRA but always end up with Issues for Zookeeper or other projects.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)