Cross-references in generated ddoc

2012-04-03 Thread Ary Manzana
Hi all, I just submitted a pull request that makes ddoc generate cross-references... even for templates! https://github.com/D-Programming-Language/dmd/pull/865 It would be awesome if you can try it with your projects, see if it's working properly and doesn't choke. I tried it with phobos and

Re: Cross-references in generated ddoc

2012-04-04 Thread Jacob Carlborg
On 2012-04-04 07:38, Ary Manzana wrote: Hi all, I just submitted a pull request that makes ddoc generate cross-references... even for templates! https://github.com/D-Programming-Language/dmd/pull/865 It would be awesome if you can try it with your projects, see if it's working properly and doe

Re: Cross-references in generated ddoc

2012-04-04 Thread Ary Manzana
On 4/4/12 6:35 PM, Jacob Carlborg wrote: On 2012-04-04 07:38, Ary Manzana wrote: Hi all, I just submitted a pull request that makes ddoc generate cross-references... even for templates! https://github.com/D-Programming-Language/dmd/pull/865 It would be awesome if you can try it with your proj

Re: Cross-references in generated ddoc

2012-04-04 Thread Jacob Carlborg
On 2012-04-04 13:38, Ary Manzana wrote: Ah, no. That's because I ran it against object.di, which doesn't have ddoc comments at all. I don't generate cross-references to undocumented symbols. I uploaded a new version which I ran against an object.di which has empty ddocs for everything. Now you

Re: Cross-references in generated ddoc

2012-04-04 Thread Ary Manzana
On 4/4/12 8:05 PM, Jacob Carlborg wrote: On 2012-04-04 13:38, Ary Manzana wrote: Ah, no. That's because I ran it against object.di, which doesn't have ddoc comments at all. I don't generate cross-references to undocumented symbols. I uploaded a new version which I ran against an object.di whic

Re: Cross-references in generated ddoc

2012-04-04 Thread Ary Manzana
On 4/4/12 9:53 PM, Ary Manzana wrote: On 4/4/12 8:05 PM, Jacob Carlborg wrote: On 2012-04-04 13:38, Ary Manzana wrote: Ah, no. That's because I ran it against object.di, which doesn't have ddoc comments at all. I don't generate cross-references to undocumented symbols. I uploaded a new versio

Re: Cross-references in generated ddoc

2012-04-04 Thread David Gileadi
On 4/3/12 10:38 PM, Ary Manzana wrote: Hi all, I just submitted a pull request that makes ddoc generate cross-references... even for templates! https://github.com/D-Programming-Language/dmd/pull/865 It would be awesome if you can try it with your projects, see if it's working properly and does

Re: Cross-references in generated ddoc

2012-04-04 Thread Ary Manzana
On 4/4/12 10:00 PM, David Gileadi wrote: On 4/3/12 10:38 PM, Ary Manzana wrote: Hi all, I just submitted a pull request that makes ddoc generate cross-references... even for templates! https://github.com/D-Programming-Language/dmd/pull/865 It would be awesome if you can try it with your proje

Re: Cross-references in generated ddoc

2012-04-04 Thread Steven Schveighoffer
On Wed, 04 Apr 2012 01:38:42 -0400, Ary Manzana wrote: Hi all, I just submitted a pull request that makes ddoc generate cross-references... even for templates! https://github.com/D-Programming-Language/dmd/pull/865 It would be awesome if you can try it with your projects, see if it's

Re: Cross-references in generated ddoc

2012-04-04 Thread Jacob Carlborg
On 2012-04-04 15:59, Ary Manzana wrote: Whoa! And take a look at this: http://pancake.io/1e79d0/algorithm.html It's all colorful and linky, even for template if conditions! :-D Thanks for catching that, Jacob. By the way, I think a "show source" would be nice to have, like what they have in

Re: Cross-references in generated ddoc

2012-04-04 Thread Jacob Carlborg
On 2012-04-04 15:53, Ary Manzana wrote: You are right! I was missing doing cross-reference for template instances. Now I did it, but I was actually forgetting to do cross-references for template instances inside templates. :-P So now I did it. Take a look, much better! :-) http://pancake.io/1

Re: Cross-references in generated ddoc

2012-04-04 Thread Jacob Carlborg
On 2012-04-04 07:38, Ary Manzana wrote: Hi all, I just submitted a pull request that makes ddoc generate cross-references... even for templates! https://github.com/D-Programming-Language/dmd/pull/865 It would be awesome if you can try it with your projects, see if it's working properly and doe

Re: Cross-references in generated ddoc

2012-04-04 Thread Jacob Carlborg
On 2012-04-04 15:59, Ary Manzana wrote: By the way, I think a "show source" would be nice to have, like what they have in Ruby... no? It helps you find bugs faster, or understand the code better if the documentation is not precise enough... BTW, I really like the filters in the Ruby documentat

Re: Cross-references in generated ddoc

2012-04-04 Thread Jonathan M Davis
On Wednesday, April 04, 2012 22:15:10 Ary Manzana wrote: > But when Walter and Andrei generate the docs they use this: > > https://github.com/D-Programming-Language/d-programming-language.org/blob/ma > ster/std.ddoc#L316 > > If you ask me, that's a bad smell. What if I want to make the docs in my

Re: Cross-references in generated ddoc

2012-04-05 Thread Ary Manzana
On 4/4/12 11:11 PM, Jacob Carlborg wrote: On 2012-04-04 15:53, Ary Manzana wrote: You are right! I was missing doing cross-reference for template instances. Now I did it, but I was actually forgetting to do cross-references for template instances inside templates. :-P So now I did it. Take a