new documentation format for std.algorithm

Adam Ruppe destructionator at gmail.com
Wed Feb 2 11:18:26 PST 2011


> Same principle may even be the default for
> most modules, don't you think?

Indeed. It also lets us automatically generate stuff off
the existing files.

Here's my first go at automated tables:

http://arsdnet.net/d-web-site/std_algorithm2.html

I only tagged the map function in the std.algorithm source.

http://arsdnet.net/d-web-site/algorithm.d

(Using the ($TAG) macro described in a last post)


The program to do the automation is here:
http://arsdnet.net/d-web-site/improveddoc.d

It needs my dom module, here:
http://arsdnet.net/d-web-site/arsd/dom.d

If you want the Phobos html to work, you need to fix std.ddoc.

BIGOH = <b><i>Ο</i>(</b>$(D $0)<b><i>)</i></b>

Is the new line. (The old one had terribly butchered html and
broke even my dom's tag soup fixer...)


More information about the Digitalmars-d mailing list