camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kölsch (JIRA) <j...@apache.org>
Subject [jira] [Created] (CAMEL-12042) Rendering of code/snippets inside documentation is broken
Date Mon, 27 Nov 2017 11:46:00 GMT
Simon Kölsch created CAMEL-12042:
------------------------------------

             Summary: 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)

Mime
View raw message