You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Incze Lajos <in...@mail.matav.hu> on 2003/01/19 00:13:05 UTC
XDOC feature request (very simple)
The request is: be possible to define more then one user
menus in the navigation.xml. The patch is very simple:
--
--- src/xsd/maven-navigation-1.0.xsd.old 2002-11-06 17:24:00.000000000 +0100
+++ src/xsd/maven-navigation-1.0.xsd 2003-01-19 00:00:33.000000000 +0100
@@ -17,7 +17,7 @@
<xs:complexType>
<xs:sequence>
<xs:element ref="links" minOccurs="0" />
- <xs:element ref="menu" minOccurs="0" />
+ <xs:element ref="menu" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
--
It makes it possible a more disciplined grouping of the user part of the
xdoc generated menu. E.g.
--
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="Foo Bar">
<title>Foo Bar</title>
<body>
<links>
<item name="FooBar" href="http://foo.bar/foobar/"/>
</links>
<menu name="Overview">
<item name="Goals" href="/goals/" />
<item name="News" href="/news/" />
<item name="Todo" href="/todo/" />
<item name="Download" href="/download/" />
</menu>
<menu name="Documentation">
<item name="User Guide" href="/userguide/" />
<item name="Developer Guide" href="/devguide/" />
</menu>
</body>
</project>
--
I'm actually using this, as the site.jsl processes it w/o a hitch.
Just would like to know it official and be sure that this hidden
feature won't go away.
incze
Re: XDOC feature request (very simple)
Posted by di...@multitask.com.au.
Thanks Incze,
patch applied!
--
dIon Gillard, Multitask Consulting
Blog: http://www.freeroller.net/page/dion/Weblog
Work: http://www.multitask.com.au
Incze Lajos <in...@mail.matav.hu> wrote on 19/01/2003 10:13:05 AM:
> The request is: be possible to define more then one user
> menus in the navigation.xml. The patch is very simple:
>
> --
> --- src/xsd/maven-navigation-1.0.xsd.old 2002-11-06 17:24:00.000000000
+0100
> +++ src/xsd/maven-navigation-1.0.xsd 2003-01-19 00:00:33.000000000
+0100
> @@ -17,7 +17,7 @@
> <xs:complexType>
> <xs:sequence>
> <xs:element ref="links" minOccurs="0" />
> - <xs:element ref="menu" minOccurs="0" />
> + <xs:element ref="menu" minOccurs="0" maxOccurs="unbounded"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> --
>
> It makes it possible a more disciplined grouping of the user part of the
> xdoc generated menu. E.g.
>
> --
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project name="Foo Bar">
> <title>Foo Bar</title>
> <body>
> <links>
> <item name="FooBar" href="http://foo.bar/foobar/"/>
> </links>
> <menu name="Overview">
> <item name="Goals" href="/goals/" />
> <item name="News" href="/news/" />
> <item name="Todo" href="/todo/" />
> <item name="Download" href="/download/" />
> </menu>
> <menu name="Documentation">
> <item name="User Guide" href="/userguide/" />
> <item name="Developer Guide" href="/devguide/" />
> </menu>
> </body>
> </project>
> --
>
> I'm actually using this, as the site.jsl processes it w/o a hitch.
> Just would like to know it official and be sure that this hidden
> feature won't go away.
>
> incze
>
> --
> To unsubscribe, e-mail: <mailto:turbine-maven-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-maven-dev-
> help@jakarta.apache.org>
>
> ForwardSourceID:NT000A50DA