dpldocs.info - easy redirect to phobos docs

Adam D. Ruppe destructionator at gmail.com
Sun Feb 21 16:23:49 PST 2010


On Sun, Feb 21, 2010 at 02:36:47PM +0100, Philippe Sigaud wrote:
> Thanks Adam, that's definitely useful and it's now part of my bookmarks!

Primitive, but I coded up a basic keyword search, with the database
populated from names of all the functions pulled out of the phobos docs
on my local box. They are a couple versions behind - I'll update at the
next dmd. It should be good enough for now anyway.

http://dpldocs.info/search.php

You can punch in some keywords, and it dumps a sorted list at you. The
matches are based on function name, module name, then a list of tags
(currently empty - I'll probably need help filling them out!). Exact matches
give higher scores, but it dumps just about anything that remotely seems
close.

Once I'm happy with it, I'll merge its functionality right into the homepage.

> Would it be difficult for it to say 'no match, sorry' and stay on your page
> when we make a mistake, instead of doing a 404 on digitalmars?

Should be good now. Once I merge the new search function in to the homepage,
I'm hoping to give /something/ helpful on every search, so this shouldn't
happen anymore.

> 
> 
> Philippe

-- 
Adam D. Ruppe
http://arsdnet.net


More information about the Digitalmars-d-announce mailing list