Re: Monodocer <since/> support
Mike Kestner <[email protected]> Wed, 11 Oct 2006 14:08:03 -0500
| Newsgroups | gmane.comp.gnome.mono.documentation |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2006-10-11 at 07:28 -0400, Jonathan Pryor wrote: > We could just do `--since "Gtk# 2.10"', and all new types/members would > get a "<since version="Gtk# 2.10" /> element inserted. It would *only* > apply to added types/members, and there is no worry about > checking/comparing assembly versions or anything like that. > > If `--since' isn't provided, then <since/> is never generated. > > This is less "automagic", but it provides more control as well. I think this is consistent with the role of monodocer, at least as I use it. I use monodocer to scan a set of assemblies and adjust a document catalog by either adding stubs or removing API members. The --since option gives me the capability to automatically insert since tags for new stubs. That's all I need from monodocer. It's all anyone will need if they are starting a catalog from scratch. The task of adding since tags to existing doc members is outside the realm of monodocer, in my opinion. It is a one-time task that is better served by a single tool like DVP. We should probably just get it up to speed with the current monodocer signature code and turn it loose on the classlib assemblies. Once they are seeded, monodocer can insert since tags with new stubs. I went ahead and checked in DocVersionatorPlus.cs to monodoc/tools in the event anyone wants to play around with it. -- Mike Kestner <[email protected]> SUSE® Linux Enterprise 10 Your Linux is ready™ www.novell.com/linux _______________________________________________ Mono-docs-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-docs-list