Subject: Re: [Boost-build] New doc format.
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2018-01-19 04:42:20
On Tue, Jan 16, 2018 at 1:13 PM, Rene Rivera <grafikrobot_at_[hidden]> wrote:
> On Tue, Jan 16, 2018 at 12:04 PM, Steven Watanabe via Boost-build <
> boost-build_at_[hidden]> wrote:
>> On 01/16/2018 10:01 AM, Rene Rivera wrote:
>> > On Tue, Jan 16, 2018 at 10:45 AM, Steven Watanabe via Boost-build <
>> > boost-build_at_[hidden]> wrote:
>> >>> - There's no syntax highlighting for Jam.
>> > Was that syntax highlighting manual before? We could certainly work on
>> > adding support for syntax coloring for that component. But that would be
>> > separate work as it's an off-the-shelf syntax coloring module it uses
>> > (which you can configure to use different ones).
>> boostbook has code for highlighting jam (I wrote it).
>> I'm assuming that there's some way to plug in our
>> own highlighter.
> I'll have to check on that.
>> It's independent of the rewrite,
>> but it's something that I want to be implemented before
>> this goes live.
> Sure. I'll go research what options we have on that. In an ideal world we
> could augment the default one it uses and push that upsream. As that way a
> bunch of other web contexts would get jam coloring.
OK, looked at the coloring.. Did the easiest attempt first. I implemented a
jam language coloring for highlight.js. And used that as the coloring for
the doc. And I did a partial tagging of the docs with the "[source,jam]"
attribute. Please take a look at the updated docs.
-- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk