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

2017-02-27 Thread Mike Parker via Digitalmars-d-announce
On Monday, 27 February 2017 at 15:41:18 UTC, Seb wrote: Is it redditable? Yes, finally :) I'm thinking it might be better to do a blog post about it and reddit that instead of posting a link to the docs or this announcement directly. Something describing the implementation and the

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

2017-02-27 Thread David Nadlinger via Digitalmars-d-announce
On Monday, 27 February 2017 at 17:13:24 UTC, Seb wrote: A solution for the moment is to point people at the ddoc version, e.g. https://dlang.org/phobos/std_algorithm_comparison.html#.among Sure, linking only that would definitely work. — David

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

2017-02-27 Thread Adam D. Ruppe via Digitalmars-d-announce
On Monday, 27 February 2017 at 16:49:13 UTC, David Nadlinger wrote: See e.g. https://dlang.org/library-prerelease/std/algorithm/comparison/among.html from above. This leaves quite the bad impression, as it makes the page look like an unstructured mess at first glance. What's up with the bullet

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

2017-02-27 Thread Seb via Digitalmars-d-announce
On Monday, 27 February 2017 at 16:49:13 UTC, David Nadlinger wrote: On Monday, 27 February 2017 at 15:41:18 UTC, Seb wrote: Is it redditable? Yes, finally :) Can we fix the fact that the docs are duplicated for template functions before any big announcements? See e.g.

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

2017-02-27 Thread David Nadlinger via Digitalmars-d-announce
On Monday, 27 February 2017 at 15:41:18 UTC, Seb wrote: Is it redditable? Yes, finally :) Can we fix the fact that the docs are duplicated for template functions before any big announcements? See e.g. https://dlang.org/library-prerelease/std/algorithm/comparison/among.html from above. This

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

2017-02-27 Thread Seb via Digitalmars-d-announce
On Monday, 27 February 2017 at 14:12:30 UTC, Mike Parker wrote: On Wednesday, 22 February 2017 at 19:14:14 UTC, Seb wrote: 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

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

2017-02-27 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 22 February 2017 at 19:14:14 UTC, Seb wrote: 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 So

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

2017-02-23 Thread bachmeier via Digitalmars-d-announce
On Saturday, 18 February 2017 at 16:57:33 UTC, Seb wrote: As imho the border doesn't look that bad and for the same reason as above I didn't remove the border. See a visual comparison here: http://imgur.com/a/pElAu Are you or others still in favor of removing the border? I like the first

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

2017-02-22 Thread Seb via Digitalmars-d-announce
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

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

2017-02-21 Thread Seb via Digitalmars-d-announce
On Sunday, 19 February 2017 at 02:27:41 UTC, Mike Parker wrote: On Saturday, 18 February 2017 at 16:43:43 UTC, Seb wrote: Excellent idea! AFAIK reddit doesn't like self posts that much. Would someone be so kind to post this once the improvements are in?

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

2017-02-18 Thread Mike Parker via Digitalmars-d-announce
On Saturday, 18 February 2017 at 16:43:43 UTC, Seb wrote: Excellent idea! AFAIK reddit doesn't like self posts that much. Would someone be so kind to post this once the improvements are in? https://github.com/dlang/dlang.org/pull/1575 (this PR disables the `assert` transformation for now

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

2017-02-18 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 02/18/2017 08:42 PM, Nick Sabalausky (Abscissa) wrote: Or it might be better to just toss this in around the top of the CSS: -- input, textarea { background-color: white; color: #333; } -- K, just tested it, works for me:

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

2017-02-18 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 02/18/2017 11:48 AM, Seb wrote: On Friday, 17 February 2017 at 16:07:37 UTC, Nick Sabalausky (Abscissa) wrote: 1. This is pretty awesome. Thanks a lot :) 2. Looks like someone forgot to set a foreground text color for the output even though the background is set to white. This makes the

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

2017-02-18 Thread Seb via Digitalmars-d-announce
On Friday, 17 February 2017 at 13:50:48 UTC, John Colvin wrote: Might I suggest you change the output s to s with border: none; and max-height: 30em; This would make them auto-grow to the right height to fit the content (with max-height for sanity). It does mean you lose manual resizability

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

2017-02-18 Thread Seb via Digitalmars-d-announce
On Friday, 17 February 2017 at 16:07:37 UTC, Nick Sabalausky (Abscissa) wrote: 1. This is pretty awesome. Thanks a lot :) 2. Looks like someone forgot to set a foreground text color for the output even though the background is set to white. This makes the output text invisible for those

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

2017-02-18 Thread Seb via Digitalmars-d-announce
On Friday, 17 February 2017 at 08:00:29 UTC, Jack Stouffer wrote: On Friday, 17 February 2017 at 05:06:20 UTC, Seb wrote: Short follow-up: this is now live for the released documentation pages. Enjoy! Please make a post on Reddit! I firmly believe that this puts D at the top of programming

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

2017-02-18 Thread Seb via Digitalmars-d-announce
On Saturday, 18 February 2017 at 13:46:10 UTC, Sönke Ludwig wrote: Am 18.02.2017 um 14:43 schrieb Sönke Ludwig: 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

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

2017-02-18 Thread Sönke Ludwig via Digitalmars-d-announce
Am 18.02.2017 um 14:43 schrieb Sönke Ludwig: 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

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

2017-02-18 Thread Sönke Ludwig via Digitalmars-d-announce
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

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

2017-02-17 Thread Dmitry Olshansky via Digitalmars-d-announce
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

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

2017-02-17 Thread Yuxuan Shui via Digitalmars-d-announce
On Saturday, 7 January 2017 at 21:19:42 UTC, Seb wrote: On Saturday, 7 January 2017 at 20:14:56 UTC, Martin Nowak wrote: On 01/07/2017 05:12 PM, Andrei Alexandrescu wrote: Following https://github.com/dlang/dlang.org/pull/1532, the new-style docs now also allow editing and running examples.

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

2017-02-17 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 01/07/2017 11:12 AM, 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. Thanks are due to Sönke Ludwig and Sebastian

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

2017-02-17 Thread bachmeier via Digitalmars-d-announce
On Friday, 17 February 2017 at 13:50:48 UTC, John Colvin wrote: Might I suggest you change the output s to s with border: none; and max-height: 30em; This would make them auto-grow to the right height to fit the content (with max-height for sanity). It does mean you lose manual resizability

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

2017-02-17 Thread John Colvin via Digitalmars-d-announce
On Friday, 17 February 2017 at 05:06:20 UTC, 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/

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

2017-02-17 Thread Jack Stouffer via Digitalmars-d-announce
On Friday, 17 February 2017 at 05:06:20 UTC, Seb wrote: Short follow-up: this is now live for the released documentation pages. Enjoy! Please make a post on Reddit! I firmly believe that this puts D at the top of programming language docs. We should advertise!

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

2017-02-16 Thread Seb via Digitalmars-d-announce
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. Thanks are due to

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

2017-01-07 Thread Seb via Digitalmars-d-announce
On Saturday, 7 January 2017 at 20:14:56 UTC, Martin Nowak wrote: On 01/07/2017 05:12 PM, 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

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

2017-01-07 Thread Martin Nowak via Digitalmars-d-announce
On 01/07/2017 05:12 PM, 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. > > Thanks are due to Sönke Ludwig and

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

2017-01-07 Thread Andrei Alexandrescu via Digitalmars-d-announce
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. Thanks are due to Sönke Ludwig and Sebastian Wilzbach! Andrei