[
https://issues.apache.org/jira/browse/SLING-6955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16181404#comment-16181404
]
Robert Munteanu commented on SLING-6955:
----------------------------------------
> I am wondering why on
> https://sling.apache.org/ng/documentation/bundles/models.html only some code
> snippets have syntax highlighting with colouring and others only with
> bold/regular fonts.
It seems that the code is incorrectly detected as css instead of java. The
snippets highlighted correctly are wrapped in {{<code class="hljs java">}} tags
and the other ones are wrapped in {{<code class="hljs css">}}. Not sure whether
that's the case, the snippets are all marked as {{::java}} in the source code.
> Convert Sling website to JBake and gitpubsub
> --------------------------------------------
>
> Key: SLING-6955
> URL: https://issues.apache.org/jira/browse/SLING-6955
> Project: Sling
> Issue Type: Bug
> Components: Site
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
>
> I've started experimenting with JBake to generate the Sling website. If that
> works well we might switch to that + gitpubsub to have a more flexible way to
> generate the site.
> My current experiment is at https://github.com/bdelacretaz/sling-jbake, at
> this point the site starts looking like the current one and many pages work
> well. Update: it's now at https://github.com/apache/sling-site
> Internal links will need to be converted, all *.md files need a more complete
> "front matter" section, currently I have a stub for that, and I think images
> need to move under the assets folder.
> To play with that, generate the site with the bake.sh script (setup
> shamelessly copied from https://github.com/apache/incubator-tamaya-site)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)