Documentation links

During a discussion on #wordpress-dev this evening I came up with the following oneliner for generating links to phpdocumenter output based on function name to support a php.net like lookup solutions:


curl "http://phpdoc.wordpress.org/trunk/li_WordPress.html" | grep "wp_list_pages" | sed "s/^.*'\(.*\)'.*'.*'.*$/http:\/\/phpdoc.wordpress.org\/trunk\/\1/"

It needs some optimisation though.  It’s too long to tweet!

Comments are closed.



d
go to dashboard
l
go to login
h
show/hide help
e
edit post/page
r
comment on post/page
m
go to moderate comments
esc
cancel
%d bloggers like this: