Improving ddoc

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 31 18:48:55 PST 2014


On Thursday, 1 January 2015 at 02:43:39 UTC, H. S. Teoh via 
Digitalmars-d wrote:
> But on a deeper note, perhaps the issue isn't really ddoc 
> syntax per se, but the fact that doc comments can *only* be
> processed by ddoc. If there was a way to get the raw text out

There is a way: dmd -D -X gets the raw text into the .json file. 
That's what my dpldocs.info scans:

http://dpldocs.info/std.algorithm

(which is, sadly, pretty illegible for the Phobos docs, but it 
works for my files e.g.

http://dpldocs.info/search/search2?searchTerm=arsd.dom.Element.getElementsBySelector


More information about the Digitalmars-d mailing list