[Mono-docs-list] XSL patch for versioning
Mike Kestner
mkestner at novell.com
Thu Jun 16 12:25:55 EDT 2005
On Thu, 2005-06-16 at 12:04 -0400, Joshua Tauberer wrote:
> There's probably a one-liner that'll do the job
> (ancestor-or-self:*/Doc/since[position()=1] -- haven't tested it, it
> might pick out the wrong one), but the way you have it is clear.
Okay, then I'll commit this.
> Do you edit the since tags manually? It would be nice to pick up the
> information either from attributes on types/members, or else by
> monodocer adding it when it adds members (subject to some command line
> args specifying the current version number).
I will soon be unleashing DocVersionatorPlus (TM) upon an unsuspecting
world. It "borrows" heavily from the monodocer signature code and uses
reflection to compare an assembly to a "base" assembly and annotate the
XML for the "new" types/members. The plan is to commit it to
monodoc/tools so it can be used for the classlib docs as well. Maybe we
can spin out the signature code from monodocer.cs to avoid parallel
code.
A typical invocation of the versionator looks like:
dvp -assembly:foo-2.0.dll -base_assembly:foo-1.0.dll -path:doc/en -version:Foo\ 2.0
base_assembly is optional and version defaults to the -assembly version.
--
Mike Kestner <mkestner at novell.com>
More information about the Mono-docs-list
mailing list