New (page-per-artifact) standard library doc examples are now editable and runnable

Sönke Ludwig via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sat Feb 18 05:43:57 PST 2017


Am 17.02.2017 um 22:07 schrieb Dmitry Olshansky:
> On 2/17/17 6:06 AM, Seb wrote:
>> On Saturday, 7 January 2017 at 16:12:49 UTC, Andrei Alexandrescu wrote:
>>> Following https://github.com/dlang/dlang.org/pull/1532, the new-style
>>> docs now also allow editing and running examples. Start at
>>> http://dlang.org/library-prerelease/ and go anywhere to check it out.
>>>
>
> Broken on the first example I tried :(
>
> http://dlang.org/library-prerelease/std/algorithm/searching/find.html
>
> ---
> Dmitry Olshansky

The example got cut off two or three characters too early, compared with 
the source unit test. I'll have to check if this is an issue with DDOX, 
or with the JSON output.


More information about the Digitalmars-d-announce mailing list