New (page-per-artifact) standard library doc examples are now editable and runnable
Seb via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Wed Feb 22 11:14:14 PST 2017
On Tuesday, 21 February 2017 at 22:58:57 UTC, Seb wrote:
>
> Unfortunately it reverts the writeln magic as the false
> positive rate was too high - at some point we really should
> come up with something better :/
> However the fact that ddoc and ddox emit different, fully built
> synax-highlighted HTML doesn't make it easier. Maybe the
> compiler can help out here (?) or we can run a libdparse-based
> formatter before running ddoc/ddox?
> (at least for ddox there is also the intermediate json output
> of DMD, but for now it seems that the switch to ddox doesn't
> happen as soon as anticipated)
Okay I just couldn't let this sit on myself. So I went ahead and
proposed a more "sophisticated" assert -> writeln rewrite tool
that is based on Hackerpilot's excellent libdparse:
https://github.com/dlang/dlang.org/pull/1582
More information about the Digitalmars-d-announce
mailing list