dpldocs.info - easy redirect to phobos docs

Nick Sabalausky a at a.a
Sat Feb 20 17:47:03 PST 2010


"Adam Ruppe" <destructionator at gmail.com> wrote in message 
news:mailman.75.1266687820.4461.digitalmars-d-announce at puremagic.com...
> One of the (few) things I like about PHP is the ease with which you
> can get to the docs. You can just put the name into your browser, and
> it comes right up:
>
> php.net/strpos
>
> I set up something similar for D today: dpldocs.info. (I tried to find
> a better name, but everything else I thought up was already taken.)
>
> dpldocs.info/std.string.indexOf
>
> Will automatically redirect you to the right place on the Digital Mars
> website. I do this with a simple script manipulating the string. You
> have to do a full name - std.string.chop rather than just chop.
>
> Future directions for it would be to make it a smart searcher, so you
> wouldn't need to use perfect fully qualified names anymore. It would
> be nice to have a category listing of functions in Phobos too, so you
> can find things without knowing the module or function names.
>
> But, I'm short on time, so the simple redirect is all I'll have for now.

Sounds great!

Another neat thing would be jumping to documentation on D's predefined 
tokens, identifiers and operators. I can't tell you how many times I've gone 
nuts trying to search for the documentation on "is"!




More information about the Digitalmars-d-announce mailing list