[Mono-docs-list] Web based Monodoc

Joshua Tauberer tauberer@for.net
Tue, 08 Jul 2003 23:08:57 -0400


 > To alleviate increasing the complexity in browser.cs, I propose adding
 > a separate class to generate www output.

Two other possibilities:
	Pipe the output of monodoc to xsltproc.  This has the advantages of 
keeping everything out of browser.cs and not having any extra 
dependencies (xsltproc should be a dependency of mono anyway through 
libxslt):
	system("monodoc --html '$query' | xsltproc --stringparam
processorurl 'theurlprefix' nameofstylesheet.xsl -");

	Create a new assembly that does the transformation by referencing 
browser.exe and using the classes in there however you need to get the 
job done.  Only minor modifications might need to be made to browser.cs.

I see these as a bit more "clean" than putting the code into browser.cs. 
  But, I'm a fanatic about these things, so I'll shush already.

-- 
- Joshua Tauberer

http://taubz.for.net

** Nothing Unreal Exists **