[xml] [patch]wiki api docs



The following patch adds a "wiki" target to doc/Makefile.am and a new
stylesheet wiki.xsl which is a cut-down version of newapi.xsl.

This cut-down version eliminates all the menuing and such that
won't be needed for libxml wiki docs.

Daniel, when you have a chance, could you 

1) apply this patch (if acceptable)
2) run make wiki from doc/
3) copy result html files to the directory specified by 
$wgLibXmlDocs in the mediawiki extension LibXml.php, or i guess
change $wgLibXmlDocs to point to e.g. "/opt/src/libxml2/doc/wiki"

or if you like i can do the above with a shell account of your 
choosing :)

then once done, i will hook up the wiki pages appropriately and
we can review it online. 

this will result in auto-generated wiki documentation, but everytime
a new ".c" file is added, one new wiki page will need to be made
which will consist of <autodoc>libxml-foo.html</autodoc>. Automatically
creating mysql rows for these occasionally added pages would imho
be a bad hack as there is no mediawiki API to do this kind of thing atm
afaik.

thanks!

jr


Attachment: wiki.1.patch
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]