[Mono-docs-list] XSLT Merge

Jonathan Pryor jonpryor at vt.edu
Tue Mar 11 15:42:02 EDT 2008


I've just committed a patch which merges the commonalities between
monodoc/engine/mono-ecma-css.xsl and mono-ecma.xsl into
mono-ecma-impl.xsl, thus allowing most of the code to be shared between
them.  This change also improves some of the CSS used so, visually, it
looks unchanged. :-)

If anyone could take a gander/code review I would appreciate it.

Up next I plan on making monodoc/engine/mono-ecma-impl.xsl more like
monodoc/tools/stylesheet.xsl, in particular generating CREF-style
hyperlinks instead of...whatever you want to call the current output.
This will change links such as:

	/docs/monodoc.ashx?link=M:System.Array.AsReadOnly<T>(T[])

into

	/docs/monodoc.ashx?link=M:System.Array.AsReadOnly``1(``0[])

This will permit two things:

1. ecma-provider will have a consistent URL that it needs to parse
(currently it needs to cope with both to some broken extent, and
completely ignores the former, which is why half the links to generic
methods on go-mono.com/docs never work); and

2. improve integration with monodocs2html, as it currently generates the
latter-style links to System.* types, so this will continue to work in a
better supported fashion.

Thanks,
 - Jon




More information about the Mono-docs-list mailing list