[Mono-docs-list] auto-add nodes to monodoc.xml

Miguel de Icaza miguel@ximian.com
03 Jul 2003 10:33:20 -0400


Hello,

> I was thinking it might be a good idea to make it easier for external
> projects to add themselves to monodoc.xml
> 
> I wanted to be able to do something like:
> monodoc --add-node GtkMozEmbed
> 
> to automatically add a line like:
> <node label="GtkMozEmbed Libraries" name="classlib-gtkmozembed" />
> 
> So this is what the attached patch and file do.  (Hopefully) you will be
> able to add a line to the install of your docs Makefile to have it added
> automatically. As an added bonus we could remove the extra libs from
> monodoc.xml so they are not displayed until installed.

In general, my idea was to have a core-maintained monodoc.xml, where we
can choose where things go.

For example, today things are rooted at /Mono Documentation;  But in
the future, they will likely be in /Mono Documentation/Reference/Class
Libraries, and then, I might want to merge all of those in "Linux
desktop".

So I rather not encourage people to add nodes to this file, but instead
maintain it centrally.

Miguel.