digitalmars.D - ddox-generated Phobos documentation is available for review
- Andrei Alexandrescu (12/12) Mar 09 2014 Consider it alpha quality. Please don't announce yet before we put it in...
- Rikki Cattermole (4/4) Mar 09 2014 I have to say its looking good.
- Suliman (3/3) Mar 09 2014 I very like how Tango docs organized
- Brad Anderson (3/15) Mar 09 2014 Huge improvement in a lot of ways. Thanks Sönke and Andrei.
- Philpax (12/12) Mar 10 2014 Fantastic! The organization makes it easy to find the right tool
- Peter Alexander (7/8) Mar 10 2014 Looking good!
- Dmitry Olshansky (5/17) Mar 10 2014 The front page shouldn't contain std.internal.* stuff and we probably
- Nicolas Sicard (5/17) Mar 10 2014 For me it's a real improvement! One thing: symbol names (modules,
- Andrei Alexandrescu (3/5) Mar 10 2014 All: how does one turn off css hyphenation?
- ralex (8/14) Mar 10 2014 word-wrap: break-word;
- Brad Anderson (3/9) Mar 10 2014 class="donthyphenate"
- Martin Nowak (7/9) Dec 11 2014 You're again using that crappy JS hyphenation?
- Martin Nowak (2/4) Dec 11 2014 No, you don't it's css hyphenation. Sorry for the tone.
- Andrei Alexandrescu (4/14) Dec 22 2014 That was quite a while ago, I forgot the context since :o). I did see
- John Colvin (3/15) Mar 10 2014 Nice, but those duplicates have got to go!
- Jonas Drewsen (8/8) Mar 10 2014 Very nice!
- Steven Schveighoffer (12/14) Mar 10 2014 I LOVE this. Been waiting for it for a long time. The cross-links
- Dicebot (7/19) Mar 10 2014 I still don't like disqus :)
- Andrei Alexandrescu (6/10) Mar 10 2014 Yah, we need a solid community effort on this all. Please file issues
- Nick Sabalausky (3/6) Mar 10 2014 Yea, forum.dlang.org ;) And anything else that doesn't completely and
- Vladimir Panteleev (32/40) Mar 10 2014 A possible plan for forum.dlang.org integration:
- Brad Roberts (11/11) Mar 10 2014 A key required (imho) feature, the ability to edit after the fact. The ...
- Vladimir Panteleev (7/21) Mar 10 2014 Any suggestions?
- Vladimir Panteleev (4/15) Mar 11 2014 BTW, as I understand, we can export data from Disqus any time, so
- Andrei Alexandrescu (6/14) Mar 10 2014 Well forum.dlang.org has quite a different charter doesn't it?
- Vladimir Panteleev (7/23) Mar 10 2014 It's still on my list... sorry it's taking this long. You're the
- Andrei Alexandrescu (3/8) Mar 10 2014 Karma eh :o).
- Dicebot (7/10) Mar 11 2014 I don't like the very concept of comments integrated with the
- Matej Nanut (10/22) Mar 11 2014 I don't like doc-integrated comments either.
- Andrej Mitrovic (8/11) Mar 11 2014 Yeah, at some point there will be so many comments on a single page
- Mike (8/8) Mar 10 2014 Thank you, to everone who worked on this. It's quite an
- Vladimir Panteleev (5/12) Mar 10 2014 Since (IIRC) DDox parses JSON layout, I think it is capable of
- Brad Anderson (9/24) Mar 10 2014 I wanted to do just this so I considered adding a predefined
- Vladimir Panteleev (4/29) Mar 10 2014 So... don't link to master?
- Brad Anderson (8/20) Mar 10 2014 I'm not sure how ddox works but I suspect that wouldn't be
- =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= (7/20) Mar 10 2014 It's actually already there - at the top of each page, there is a "View
- Vladimir Panteleev (4/25) Mar 10 2014 Ah, that's great.
- Mike (2/7) Mar 10 2014 Oops. My mistake. I'm happy with it the way it is.
- w0rp (5/5) Mar 10 2014 The documentation is looking very good, good work to all
- Ivan Kazmenko (6/7) Mar 11 2014 Looks nice!
- Andrei Alexandrescu (4/9) Mar 11 2014 Unless something better comes about, we'll go with disqus. Sönke, are
- Steven Schveighoffer (26/36) Mar 11 2014 are =
- Vladimir Panteleev (6/41) Mar 11 2014 Sure, we could do that.
- Steven Schveighoffer (4/16) Mar 11 2014 Oh, excellent idea, even if we don't have the discussion cross-linked.
- =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= (4/15) Mar 12 2014 AFAICT the only options are dark or bright background and serif or
- Andrej Mitrovic (6/9) Mar 11 2014 I think on pages where we provide a cheat-sheet like in std.algorithm
- Andrei Alexandrescu (3/13) Mar 11 2014 Sönke, can we make the list generation optional?
- Jacob Carlborg (8/13) Mar 11 2014 The correct solution is making the automatically generated one as good
- Andrei Alexandrescu (6/19) Mar 11 2014 Yes to that. I seem to recall we have something similar on the homepage.
- Jacob Carlborg (4/7) Mar 11 2014 Do you mean how to write Ddoc comments or implement the $(CATEGORY) macr...
- Andrei Alexandrescu (3/9) Mar 11 2014 Implement the macro and show how it works in one place.
- Piotr Szturmaj (5/9) Mar 11 2014 Great!
- Tobias Pankrath (4/16) Dec 11 2014 std.container.Array is shadowed by std.container.Array!bool.
- Martin Nowak (4/6) Dec 11 2014 We fixed that issue already, please have a look at the preview.
Consider it alpha quality. Please don't announce yet before we put it in good shape. https://github.com/D-Programming-Language/dlang.org/pull/516 http://dlang.org/library http://dlang.org/library-prerelease I needed to change quite a bit about the makefile. It was building everything over and over again, and it's _slow_. Some functions are not ready, compare e.g. http://dlang.org/library/std/algorithm/balancedParens.html with http://dlang.org/library/std/algorithm/any.html Andrei
Mar 09 2014
I have to say its looking good. Although it does show just how much we need to break things up and make it a little bit more organised. Great example is the digest modules.
Mar 09 2014
I very like how Tango docs organized http://www.dsource.org/projects/tango/docs/stable/ Also good example how docs organized http://devdocs.io
Mar 09 2014
On Monday, 10 March 2014 at 03:44:54 UTC, Andrei Alexandrescu wrote:Consider it alpha quality. Please don't announce yet before we put it in good shape. https://github.com/D-Programming-Language/dlang.org/pull/516 http://dlang.org/library http://dlang.org/library-prerelease I needed to change quite a bit about the makefile. It was building everything over and over again, and it's _slow_. Some functions are not ready, compare e.g. http://dlang.org/library/std/algorithm/balancedParens.html with http://dlang.org/library/std/algorithm/any.html AndreiHuge improvement in a lot of ways. Thanks Sönke and Andrei.
Mar 09 2014
Fantastic! The organization makes it easy to find the right tool for the job. This is probably nitpicking, but in std.algorithm and other modules ( http://dlang.org/library/std/algorithm.html ) there are multiple overloads of the same function (splitter, reverse, etc); it'd be nice if these could be organized into their own sub-categories, so there's no unnecessary visual redundancy. There's also the library list which displays all modules; do the internal modules (druntime, etc) need to be exposed? It might be nicer for the end-user for these to be hidden, or kept in their own category. Otherwise, very nice! :)
Mar 10 2014
On Monday, 10 March 2014 at 03:44:54 UTC, Andrei Alexandrescu wrote:http://dlang.org/libraryLooking good! The module list current shows deeply nested modules (e.g. std.c.stdio) before less nested ones (std.stdio). I think it should be the other way round, otherwise you have all the std.c.* modules listed first.
Mar 10 2014
10-Mar-2014 07:44, Andrei Alexandrescu пишет:Consider it alpha quality. Please don't announce yet before we put it in good shape. https://github.com/D-Programming-Language/dlang.org/pull/516 http://dlang.org/library http://dlang.org/library-prerelease I needed to change quite a bit about the makefile. It was building everything over and over again, and it's _slow_. Some functions are not ready, compare e.g. http://dlang.org/library/std/algorithm/balancedParens.html with http://dlang.org/library/std/algorithm/any.html AndreiThe front page shouldn't contain std.internal.* stuff and we probably need to adjust DDocs so that all modules have proper blurb text. -- Dmitry Olshansky
Mar 10 2014
On Monday, 10 March 2014 at 03:44:54 UTC, Andrei Alexandrescu wrote:Consider it alpha quality. Please don't announce yet before we put it in good shape. https://github.com/D-Programming-Language/dlang.org/pull/516 http://dlang.org/library http://dlang.org/library-prerelease I needed to change quite a bit about the makefile. It was building everything over and over again, and it's _slow_. Some functions are not ready, compare e.g. http://dlang.org/library/std/algorithm/balancedParens.html with http://dlang.org/library/std/algorithm/any.html AndreiFor me it's a real improvement! One thing: symbol names (modules, functions, etc.) shouldn't be hyphenated, specially in tables. Nicolas
Mar 10 2014
On 3/10/14, 1:35 AM, Nicolas Sicard wrote:For me it's a real improvement! One thing: symbol names (modules, functions, etc.) shouldn't be hyphenated, specially in tables.All: how does one turn off css hyphenation? Andrei
Mar 10 2014
On Monday, 10 March 2014 at 14:56:13 UTC, Andrei Alexandrescu wrote:On 3/10/14, 1:35 AM, Nicolas Sicard wrote:word-wrap: break-word; -webkit-hypens: none; -moz-hypens: none; -ms-hypens: none; hypens: none; should do the trick..For me it's a real improvement! One thing: symbol names (modules, functions, etc.) shouldn't be hyphenated, specially in tables.All: how does one turn off css hyphenation? Andrei
Mar 10 2014
On Monday, 10 March 2014 at 14:56:13 UTC, Andrei Alexandrescu wrote:On 3/10/14, 1:35 AM, Nicolas Sicard wrote:class="donthyphenate"For me it's a real improvement! One thing: symbol names (modules, functions, etc.) shouldn't be hyphenated, specially in tables.All: how does one turn off css hyphenation? Andrei
Mar 10 2014
On 03/10/2014 03:56 PM, Andrei Alexandrescu wrote:All: how does one turn off css hyphenation? AndreiYou're again using that crappy JS hyphenation? Last time we had a performance problem with it, I wrote this super efficient D library http://code.dlang.org/packages/hyphenate. It could easily be hooked up with ddox or if someone has time for that wire it up with gumbo to postprocess HTML files (https://github.com/MartinNowak/hyphenate/issues/1).
Dec 11 2014
On 12/12/2014 02:05 AM, Martin Nowak wrote:No, you don't it's css hyphenation. Sorry for the tone.You're again using that crappy JS hyphenation?
Dec 11 2014
On 12/11/14 5:05 PM, Martin Nowak wrote:On 03/10/2014 03:56 PM, Andrei Alexandrescu wrote:That was quite a while ago, I forgot the context since :o). I did see your hyphenate library, looks pretty rad! Should we add an enhancement request to add hyphenation to generated docs? -- AndreiAll: how does one turn off css hyphenation? AndreiYou're again using that crappy JS hyphenation? Last time we had a performance problem with it, I wrote this super efficient D library http://code.dlang.org/packages/hyphenate. It could easily be hooked up with ddox or if someone has time for that wire it up with gumbo to postprocess HTML files (https://github.com/MartinNowak/hyphenate/issues/1).
Dec 22 2014
On Monday, 10 March 2014 at 03:44:54 UTC, Andrei Alexandrescu wrote:Consider it alpha quality. Please don't announce yet before we put it in good shape. https://github.com/D-Programming-Language/dlang.org/pull/516 http://dlang.org/library http://dlang.org/library-prerelease I needed to change quite a bit about the makefile. It was building everything over and over again, and it's _slow_. Some functions are not ready, compare e.g. http://dlang.org/library/std/algorithm/balancedParens.html with http://dlang.org/library/std/algorithm/any.html AndreiNice, but those duplicates have got to go!
Mar 10 2014
Very nice! std.algorithm, std.net.curl etc. have their functions/classes split in categories. I haven't used ddox myself but would it be possible to modify it to read a "category" variable in the documentation for a function and then use that to group things in the resulting html file? Or would that need modifications to dmd itself. /Jonas
Mar 10 2014
On Sun, 09 Mar 2014 23:44:43 -0400, Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> wrote:Consider it alpha quality. Please don't announce yet before we put it in good shape.I LOVE this. Been waiting for it for a long time. The cross-links themselves are worth the wait. Just look at how organized std.datetime has become! Now, one nitpick -- I would like to see leaf links expand locally instead of opening a new page. Perhaps you can click on the link, and it opens a new page, but have a + button to expand in-line if desired. Essentially, the disruption of going to a new page when looking at the details of a function, I feel is too much. And look at that, disqus comments! -Steve
Mar 10 2014
On Monday, 10 March 2014 at 03:44:54 UTC, Andrei Alexandrescu wrote:Consider it alpha quality. Please don't announce yet before we put it in good shape. https://github.com/D-Programming-Language/dlang.org/pull/516 http://dlang.org/library http://dlang.org/library-prerelease I needed to change quite a bit about the makefile. It was building everything over and over again, and it's _slow_. Some functions are not ready, compare e.g. http://dlang.org/library/std/algorithm/balancedParens.html with http://dlang.org/library/std/algorithm/any.html AndreiI still don't like disqus :) Documentation in general may probably benefit from some styling tweaks - for example, std.alogrithm looks funny when manually crafted tables turn into usual generated function list. But overall look solid.
Mar 10 2014
On 3/10/14, 7:00 AM, Dicebot wrote:I still don't like disqus :)Are there better such systems available?Documentation in general may probably benefit from some styling tweaks - for example, std.alogrithm looks funny when manually crafted tables turn into usual generated function list. But overall look solid.Yah, we need a solid community effort on this all. Please file issues appropriately, and hopefully fix others directly. Folks, this is the long tail. Please help us improve our documentation. Andrei
Mar 10 2014
On 3/10/2014 11:08 AM, Andrei Alexandrescu wrote:On 3/10/14, 7:00 AM, Dicebot wrote:Yea, forum.dlang.org ;) And anything else that doesn't completely and totally break without JS.I still don't like disqus :)Are there better such systems available?
Mar 10 2014
On Monday, 10 March 2014 at 22:28:11 UTC, Nick Sabalausky wrote:On 3/10/2014 11:08 AM, Andrei Alexandrescu wrote:A possible plan for forum.dlang.org integration: 1. Walter and Brad create a new newsgroup and mailing list specifically for doc comments. 2. We have one thread per documentation page. 3. The relevant thread is displayed on each page via an iframe or a JS snippet (with a noscript iframe fallback). Downsides: - Requires implementation effort, whereas Disqus is already there. - Limited moderation support (although I don't imagine the problem to be worse than now, and there is still room for improvement with the current one). - No formatting. - No voting. - (More Disqus advantages I forgot? I think the previous thread had a few more.) Benefits: - We hold all data ourselves. If disaster strikes, the code is open-source, I have backups, and Walter and Andrei have SSH access. - No JavaScript required. - Forum, newsgroup and mailing list integration allows volunteers to easily subscribe to new comments, and answer questions as they are posted. As DFeed is also an IRC client, IRC notifications are also possible. - As the code is open-source, we can implement features that are present in Disqus, or even features that Disqus doesn't have. - Subjective, but hopefully we can come up with a less cluttered interface. There's lots of elements which I think are undesirable: "Share", "Favorite", the "vibe.d" link (what's that for?), "Subscribe", "Add Disqus to your site", the "Disqus" logo, "comments powered by Disqus".On 3/10/14, 7:00 AM, Dicebot wrote:Yea, forum.dlang.org ;) And anything else that doesn't completely and totally break without JS.I still don't like disqus :)Are there better such systems available?
Mar 10 2014
A key required (imho) feature, the ability to edit after the fact. The primary value that I see in any sort of embedded user input feature is the the most streamlined way of adding essentially bug reports about the page directly on the page. Those reports should be acted upon and the page itself updated after which the report dropped. The same with the essentially unmaintained wiki page that is linked to most of the dlang.org pages. I'm concerned about it becoming yet another forum for discussion. Yet another place that needs to be monitored and maintained. Something else that will grow stale. Etc. There's certainly value, and I've seen the value on other sites that support per-page user comments. But there's a very real and very important cost that comes with it. My 2 cents, Brad
Mar 10 2014
On Monday, 10 March 2014 at 23:16:40 UTC, Brad Roberts wrote:A key required (imho) feature, the ability to edit after the fact. The primary value that I see in any sort of embedded user input feature is the the most streamlined way of adding essentially bug reports about the page directly on the page. Those reports should be acted upon and the page itself updated after which the report dropped. The same with the essentially unmaintained wiki page that is linked to most of the dlang.org pages. I'm concerned about it becoming yet another forum for discussion. Yet another place that needs to be monitored and maintained. Something else that will grow stale. Etc. There's certainly value, and I've seen the value on other sites that support per-page user comments. But there's a very real and very important cost that comes with it.Any suggestions? Edit-ability precludes NNTP/mailing-list mirroring, unless some shims like sending edits as replies are used. I think that if we were to embed a wiki into the page directly, it would have be much less likely to bitrot due to higher visibility.
Mar 10 2014
On Monday, 10 March 2014 at 22:50:54 UTC, Vladimir Panteleev wrote:On Monday, 10 March 2014 at 22:28:11 UTC, Nick Sabalausky wrote:BTW, as I understand, we can export data from Disqus any time, so there should be no pressure to decide on this right now.On 3/10/2014 11:08 AM, Andrei Alexandrescu wrote:A possible plan for forum.dlang.org integration:On 3/10/14, 7:00 AM, Dicebot wrote:Yea, forum.dlang.org ;) And anything else that doesn't completely and totally break without JS.I still don't like disqus :)Are there better such systems available?
Mar 11 2014
On 3/10/14, 3:28 PM, Nick Sabalausky wrote:On 3/10/2014 11:08 AM, Andrei Alexandrescu wrote:Well forum.dlang.org has quite a different charter doesn't it? Also it lacks a very basic feature that I asked for in vain: a flat list of messages sorted by date posted, most recent. It would be the one thing that would make it comparable to the NNTP I use. AndreiOn 3/10/14, 7:00 AM, Dicebot wrote:Yea, forum.dlang.org ;) And anything else that doesn't completely and totally break without JS.I still don't like disqus :)Are there better such systems available?
Mar 10 2014
On Monday, 10 March 2014 at 22:56:04 UTC, Andrei Alexandrescu wrote:On 3/10/14, 3:28 PM, Nick Sabalausky wrote:It's still on my list... sorry it's taking this long. You're the only one who requested this feature, though. I can think of several improvements (some of which are in the pipeline) which I think would be more useful to the community overall, but if you think this is important I can bump it higher :)On 3/10/2014 11:08 AM, Andrei Alexandrescu wrote:Well forum.dlang.org has quite a different charter doesn't it? Also it lacks a very basic feature that I asked for in vain: a flat list of messages sorted by date posted, most recent. It would be the one thing that would make it comparable to the NNTP I use.On 3/10/14, 7:00 AM, Dicebot wrote:Yea, forum.dlang.org ;) And anything else that doesn't completely and totally break without JS.I still don't like disqus :)Are there better such systems available?
Mar 10 2014
On 3/10/14, 4:04 PM, Vladimir Panteleev wrote:It's still on my list... sorry it's taking this long. You're the only one who requested this feature, though. I can think of several improvements (some of which are in the pipeline) which I think would be more useful to the community overall, but if you think this is important I can bump it higher :)Karma eh :o). Andrei
Mar 10 2014
On Monday, 10 March 2014 at 15:08:07 UTC, Andrei Alexandrescu wrote:On 3/10/14, 7:00 AM, Dicebot wrote:I don't like the very concept of comments integrated with the docs and can't accept PHP example as authority. It just feels very intrusive wiki + stackoverflow + forum.dlang.org generate much more natural user documentationI still don't like disqus :)Are there better such systems available?
Mar 11 2014
On 11 March 2014 14:09, Dicebot <public dicebot.lv> wrote:On Monday, 10 March 2014 at 15:08:07 UTC, Andrei Alexandrescu wrote:I don't like doc-integrated comments either. A possible consequence is that people will simply stop improving the docs, because "workarounds" or extra explanations will be available in the comments. Something like this happens in the AngularJS documentation, for example. There, the docs can be incomplete or even out of date, so you have to look at the comments. Of course, if the docs are out of date regardless, this can be considered a good thing.On 3/10/14, 7:00 AM, Dicebot wrote:I don't like the very concept of comments integrated with the docs and can't accept PHP example as authority. It just feels very intrusive wiki + stackoverflow + forum.dlang.org generate much more natural user documentationI still don't like disqus :)Are there better such systems available?
Mar 11 2014
On 3/11/14, Dicebot <public dicebot.lv> wrote:I don't like the very concept of comments integrated with the docs and can't accept PHP example as authority. It just feels very intrusiveYeah, at some point there will be so many comments on a single page that it defeats the purpose. Comments which are stale (e.g. because the docs were fixed since then) should be removed, they're visual noise otherwise. And disqus just like any other free online service is just a ticking time-bomb anyway. Pretty much all of these free online services die at some point.
Mar 11 2014
Thank you, to everone who worked on this. It's quite an improvement. Problem: http://dlang.org/library/std/compiler/vendor.html is a 404 Recommendation: I really liked the immediate link to the source file on github in the old layout. If possible please add it to the new layout. Mike
Mar 10 2014
On Monday, 10 March 2014 at 14:08:07 UTC, Mike wrote:Thank you, to everone who worked on this. It's quite an improvement. Problem: http://dlang.org/library/std/compiler/vendor.html is a 404 Recommendation: I really liked the immediate link to the source file on github in the old layout. If possible please add it to the new layout.Since (IIRC) DDox parses JSON layout, I think it is capable of generating exact links to the file:line of each symbol. That would be neat, as it allows quickly seeing the implementation if the documentation is not sufficient.
Mar 10 2014
On Monday, 10 March 2014 at 14:11:06 UTC, Vladimir Panteleev wrote:On Monday, 10 March 2014 at 14:08:07 UTC, Mike wrote:I wanted to do just this so I considered adding a predefined macro to ddoc to get line numbers like I did to get filenames (I needed SRCFILENAME to add the Improve This Page button) but the line numbers would pretty quickly lose sync between master and the documentation so that would also require integrating the release tag into the documentation somehow so I gave up on that idea.Thank you, to everone who worked on this. It's quite an improvement. Problem: http://dlang.org/library/std/compiler/vendor.html is a 404 Recommendation: I really liked the immediate link to the source file on github in the old layout. If possible please add it to the new layout.Since (IIRC) DDox parses JSON layout, I think it is capable of generating exact links to the file:line of each symbol. That would be neat, as it allows quickly seeing the implementation if the documentation is not sufficient.
Mar 10 2014
On Monday, 10 March 2014 at 16:54:37 UTC, Brad Anderson wrote:On Monday, 10 March 2014 at 14:11:06 UTC, Vladimir Panteleev wrote:So... don't link to master? The dmd repo has a VERSION file. Can that be used to link to the respective tag instead?On Monday, 10 March 2014 at 14:08:07 UTC, Mike wrote:I wanted to do just this so I considered adding a predefined macro to ddoc to get line numbers like I did to get filenames (I needed SRCFILENAME to add the Improve This Page button) but the line numbers would pretty quickly lose sync between master and the documentation so that would also require integrating the release tag into the documentation somehow so I gave up on that idea.Thank you, to everone who worked on this. It's quite an improvement. Problem: http://dlang.org/library/std/compiler/vendor.html is a 404 Recommendation: I really liked the immediate link to the source file on github in the old layout. If possible please add it to the new layout.Since (IIRC) DDox parses JSON layout, I think it is capable of generating exact links to the file:line of each symbol. That would be neat, as it allows quickly seeing the implementation if the documentation is not sufficient.
Mar 10 2014
On Monday, 10 March 2014 at 16:58:45 UTC, Vladimir Panteleev wrote:On Monday, 10 March 2014 at 16:54:37 UTC, Brad Anderson wrote:I'm not sure how ddox works but I suspect that wouldn't be terrible difficult to integrate. Doing it with ddoc would require something like copying the value from VERSION into a macro within std.ddoc using the html make target. Not terribly difficult but now that we are switching to ddox we might as well do it using ddox where line information is already easily accessible.I wanted to do just this so I considered adding a predefined macro to ddoc to get line numbers like I did to get filenames (I needed SRCFILENAME to add the Improve This Page button) but the line numbers would pretty quickly lose sync between master and the documentation so that would also require integrating the release tag into the documentation somehow so I gave up on that idea.So... don't link to master? The dmd repo has a VERSION file. Can that be used to link to the respective tag instead?
Mar 10 2014
Am 10.03.2014 15:11, schrieb Vladimir Panteleev:On Monday, 10 March 2014 at 14:08:07 UTC, Mike wrote:It's actually already there - at the top of each page, there is a "View source code" button that goes to the proper file/line and to the proper branch/tag. I've used the same style as the already existing buttons, but those are indeed not very noticeable on the right side of the page. Any suggestions for a better place/style without visually cluttering up the actual documentation?Thank you, to everone who worked on this. It's quite an improvement. Problem: http://dlang.org/library/std/compiler/vendor.html is a 404 Recommendation: I really liked the immediate link to the source file on github in the old layout. If possible please add it to the new layout.Since (IIRC) DDox parses JSON layout, I think it is capable of generating exact links to the file:line of each symbol. That would be neat, as it allows quickly seeing the implementation if the documentation is not sufficient.
Mar 10 2014
On Monday, 10 March 2014 at 18:56:41 UTC, Sönke Ludwig wrote:Am 10.03.2014 15:11, schrieb Vladimir Panteleev:Ah, that's great. I think it's fine as it is, we just didn't expect it to be there already.On Monday, 10 March 2014 at 14:08:07 UTC, Mike wrote:It's actually already there - at the top of each page, there is a "View source code" button that goes to the proper file/line and to the proper branch/tag.Thank you, to everone who worked on this. It's quite an improvement. Problem: http://dlang.org/library/std/compiler/vendor.html is a 404 Recommendation: I really liked the immediate link to the source file on github in the old layout. If possible please add it to the new layout.Since (IIRC) DDox parses JSON layout, I think it is capable of generating exact links to the file:line of each symbol. That would be neat, as it allows quickly seeing the implementation if the documentation is not sufficient.
Mar 10 2014
On Monday, 10 March 2014 at 18:56:41 UTC, Sönke Ludwig wrote:It's actually already there - at the top of each page, there is a "View source code" button that goes to the proper file/line and to the proper branch/tag. I've used the same style as the already existing buttons, but those are indeed not very noticeable on the right side of the page.Oops. My mistake. I'm happy with it the way it is.
Mar 10 2014
The documentation is looking very good, good work to all involved. There are a few bugs here and there. Appender's docs were missing, some runtime modules are in there which should maybe be hidden. Still, this is a massive improvement, and I love it.
Mar 10 2014
http://dlang.org/libraryLooks nice! I second the opinion that Disqus might have a better alternative. Its loading after the page was rendered looks clumsy, its style does not match that of dlang.org's... the whole thing is somehow out of place. Ivan Kazmenko.
Mar 11 2014
On 3/11/14, 6:55 AM, Ivan Kazmenko wrote:Unless something better comes about, we'll go with disqus. Sönke, are there styling options available? Andreihttp://dlang.org/libraryLooks nice! I second the opinion that Disqus might have a better alternative. Its loading after the page was rendered looks clumsy, its style does not match that of dlang.org's... the whole thing is somehow out of place.
Mar 11 2014
On Tue, 11 Mar 2014 11:12:51 -0400, Andrei Alexandrescu = <SeeWebsiteForEmail erdani.org> wrote:On 3/11/14, 6:55 AM, Ivan Kazmenko wrote:http://dlang.org/libraryLooks nice! I second the opinion that Disqus might have a better alternative. Its=loading after the page was rendered looks clumsy, its style does not match that of dlang.org's... the whole thing is somehow out of place.=Unless something better comes about, we'll go with disqus. S=C3=B6nke,=are =there styling options available?I want to stick my neck out and say that I love disqus *ducks*. But I = don't know that it's what we should use in this instance. Disqus is grea= t = when you are having a live debate. New posts get loaded in real-time, = votes are recorded in real-time, so it's very fluid. But in this case, I don't see any fierce debates occurring on doc pages.= = Probably simple notes or "useful tricks" is what will appear there. A = "live update" feature is pretty much overkill for such static discussion= . That being said, I've been on plenty of disqus sites, and they look = different, act different, but have the same general look and feel. An idea -- would it be possible to search links from the D forum, and po= st = underneath the discussions that link to that doc page? Then have some so= rt = of moderation so non-doc-related discussions don't clutter the page? May= be = even just first few sentences of the post, with a link to the D forum...= Then we don't have to have any kind of new interface for D posts, just a= = copy of what's already in discussion. -Steve
Mar 11 2014
On Tuesday, 11 March 2014 at 15:38:21 UTC, Steven Schveighoffer wrote:On Tue, 11 Mar 2014 11:12:51 -0400, Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> wrote:Sure, we could do that. Together with an "Ask a question about std.modulename.symbolname" link that goes to a partially pre-filled form ready to post to d.learn.On 3/11/14, 6:55 AM, Ivan Kazmenko wrote:I want to stick my neck out and say that I love disqus *ducks*. But I don't know that it's what we should use in this instance. Disqus is great when you are having a live debate. New posts get loaded in real-time, votes are recorded in real-time, so it's very fluid. But in this case, I don't see any fierce debates occurring on doc pages. Probably simple notes or "useful tricks" is what will appear there. A "live update" feature is pretty much overkill for such static discussion. That being said, I've been on plenty of disqus sites, and they look different, act different, but have the same general look and feel. An idea -- would it be possible to search links from the D forum, and post underneath the discussions that link to that doc page? Then have some sort of moderation so non-doc-related discussions don't clutter the page? Maybe even just first few sentences of the post, with a link to the D forum... Then we don't have to have any kind of new interface for D posts, just a copy of what's already in discussion.Unless something better comes about, we'll go with disqus. Sönke, are there styling options available?http://dlang.org/libraryLooks nice! I second the opinion that Disqus might have a better alternative. Its loading after the page was rendered looks clumsy, its style does not match that of dlang.org's... the whole thing is somehow out of place.
Mar 11 2014
On Tue, 11 Mar 2014 13:41:23 -0400, Vladimir Panteleev <vladimir thecybershadow.net> wrote:On Tuesday, 11 March 2014 at 15:38:21 UTC, Steven Schveighoffer wrote:Oh, excellent idea, even if we don't have the discussion cross-linked. -SteveAn idea -- would it be possible to search links from the D forum, and post underneath the discussions that link to that doc page? Then have some sort of moderation so non-doc-related discussions don't clutter the page? Maybe even just first few sentences of the post, with a link to the D forum... Then we don't have to have any kind of new interface for D posts, just a copy of what's already in discussion.Sure, we could do that. Together with an "Ask a question about std.modulename.symbolname" link that goes to a partially pre-filled form ready to post to d.learn.
Mar 11 2014
Am 11.03.2014 16:12, schrieb Andrei Alexandrescu:On 3/11/14, 6:55 AM, Ivan Kazmenko wrote:AFAICT the only options are dark or bright background and serif or sans-serif font. I didn't find anything to control the area around the horizontal bar at the top of the comments section.Unless something better comes about, we'll go with disqus. Sönke, are there styling options available? Andreihttp://dlang.org/libraryLooks nice! I second the opinion that Disqus might have a better alternative. Its loading after the page was rendered looks clumsy, its style does not match that of dlang.org's... the whole thing is somehow out of place.
Mar 12 2014
On 3/10/14, Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> wrote:Consider it alpha quality. Please don't announce yet before we put it in good shape. https://github.com/D-Programming-Language/dlang.org/pull/516I think on pages where we provide a cheat-sheet like in std.algorithm it's probably a good idea to remove the auto-generated list of functions, because it's essentially a duplicated list (and the cheat-sheet is better because it's humanly organized): http://dlang.org/library/std/algorithm.html
Mar 11 2014
On 3/11/14, 8:52 AM, Andrej Mitrovic wrote:On 3/10/14, Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> wrote:Sönke, can we make the list generation optional? AndreiConsider it alpha quality. Please don't announce yet before we put it in good shape. https://github.com/D-Programming-Language/dlang.org/pull/516I think on pages where we provide a cheat-sheet like in std.algorithm it's probably a good idea to remove the auto-generated list of functions, because it's essentially a duplicated list (and the cheat-sheet is better because it's humanly organized): http://dlang.org/library/std/algorithm.html
Mar 11 2014
On 2014-03-11 16:52, Andrej Mitrovic wrote:I think on pages where we provide a cheat-sheet like in std.algorithm it's probably a good idea to remove the auto-generated list of functions, because it's essentially a duplicated list (and the cheat-sheet is better because it's humanly organized): http://dlang.org/library/std/algorithm.htmlThe correct solution is making the automatically generated one as good as the manually. It shouldn't be hard to add a new Ddoc macro that is recognized and indicates which category a symbol belongs to. Something like: /// $(CATEGORY searching) void foo (); -- /Jacob Carlborg
Mar 11 2014
On 3/11/14, 10:38 AM, Jacob Carlborg wrote:On 2014-03-11 16:52, Andrej Mitrovic wrote:Yes to that. I seem to recall we have something similar on the homepage. Could you please get something started to serve as a pattern to follow for all of us? Thanks, AndreiI think on pages where we provide a cheat-sheet like in std.algorithm it's probably a good idea to remove the auto-generated list of functions, because it's essentially a duplicated list (and the cheat-sheet is better because it's humanly organized): http://dlang.org/library/std/algorithm.htmlThe correct solution is making the automatically generated one as good as the manually. It shouldn't be hard to add a new Ddoc macro that is recognized and indicates which category a symbol belongs to. Something like: /// $(CATEGORY searching) void foo ();
Mar 11 2014
On 2014-03-11 19:03, Andrei Alexandrescu wrote:Yes to that. I seem to recall we have something similar on the homepage. Could you please get something started to serve as a pattern to follow for all of us?Do you mean how to write Ddoc comments or implement the $(CATEGORY) macro? -- /Jacob Carlborg
Mar 11 2014
On 3/11/14, 12:08 PM, Jacob Carlborg wrote:On 2014-03-11 19:03, Andrei Alexandrescu wrote:Implement the macro and show how it works in one place. AndreiYes to that. I seem to recall we have something similar on the homepage. Could you please get something started to serve as a pattern to follow for all of us?Do you mean how to write Ddoc comments or implement the $(CATEGORY) macro?
Mar 11 2014
W dniu 2014-03-10 04:44, Andrei Alexandrescu pisze:Consider it alpha quality. Please don't announce yet before we put it in good shape. https://github.com/D-Programming-Language/dlang.org/pull/516 http://dlang.org/libraryGreat! Altough, I would exchange title order to like "std.xxx module" or "someFn() function". Otherwise, identifier names in tabs may be visually cut out if you open many tabs.
Mar 11 2014
On Monday, 10 March 2014 at 03:44:54 UTC, Andrei Alexandrescu wrote:Consider it alpha quality. Please don't announce yet before we put it in good shape. https://github.com/D-Programming-Language/dlang.org/pull/516 http://dlang.org/library http://dlang.org/library-prerelease I needed to change quite a bit about the makefile. It was building everything over and over again, and it's _slow_. Some functions are not ready, compare e.g. http://dlang.org/library/std/algorithm/balancedParens.html with http://dlang.org/library/std/algorithm/any.html Andreistd.container.Array is shadowed by std.container.Array!bool. redBlackTree shadows RedBlackTree as well.
Dec 11 2014
On 12/11/2014 03:45 PM, Tobias Pankrath wrote:std.container.Array is shadowed by std.container.Array!bool. redBlackTree shadows RedBlackTree as well.We fixed that issue already, please have a look at the preview. https://dlang.dawg.eu/library/index.html https://dlang.dawg.eu/library-prerelease/index.html
Dec 11 2014