Skip to content

Commit b329f16

Browse files
author
Robert James Oxspring
committed
Navigation updated for v2 documentation
PDF version separated out to exclude web only documents git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk@130078 13f79535-47bb-0310-9956-ffa450edef68
1 parent 4779c76 commit b329f16

3 files changed

Lines changed: 81 additions & 8 deletions

File tree

project.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ maven.xdoc.poweredby.image=maven-feather.png
2121
maven.javadoc.links=http://java.sun.com/j2se/1.4/docs/api/
2222

2323

24-
maven.jar.manifest=${basedir}/src/conf/MANIFEST.MF
24+
maven.jar.manifest=${basedir}/src/conf/MANIFEST.MF
25+
26+
maven.pdf.navigationFile=navigation-pdf.xml

xdocs/navigation-pdf.xml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?xml version="1.0" encoding="ISO-8859-1"?>
2+
<!--
3+
Copyright 2002-2004 The Apache Software Foundation
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
18+
<!DOCTYPE org.apache.commons.menus SYSTEM '../../commons-build/menus/menus.dtd'>
19+
20+
<project name="CLI">
21+
22+
<title>CLI</title>
23+
24+
<body>
25+
<links>
26+
<item name="Jakarta Commons"
27+
href="http://jakarta.apache.org/commons/"/>
28+
</links>
29+
30+
<menu name="Command Line Interface">
31+
<item name="Introduction" href="/index.html"/>
32+
</menu>
33+
34+
<menu name="CLI2">
35+
<item name="CLI2 - Overview" href="/manual/index.html"/>
36+
<item name="CLI2 - Options" href="/manual/options.html"/>
37+
<item name="CLI2 - Builders" href="/manual/builders.html"/>
38+
<item name="CLI2 - CommandLines" href="/manual/commandlines.html"/>
39+
<item name="CLI2 - Validators" href="/manual/validators.html"/>
40+
<item name="CLI2 - Utilities" href="/manual/utilities.html"/>
41+
</menu>
42+
43+
<menu name="CLI1">
44+
<item name="CLI1 - Overview" href="/introduction.html"/>
45+
<item name="CLI1 - Usage Scenarios" href="/usage.html"/>
46+
<item name="CLI1 - Option Properties" href="/properties.html"/>
47+
</menu>
48+
49+
<menu name="Examples">
50+
<item name="Examples - Overview" href="/examples/index.html"/>
51+
<item name="Examples - ant" href="/examples/ant.html"/>
52+
<item name="Examples - ls" href="/examples/ls.html"/>
53+
<item name="Examples - cvs" href="/examples/cvs.html"/>
54+
<item name="Examples - cp" href="/examples/cp.html"/>
55+
</menu>
56+
57+
</body>
58+
</project>

xdocs/navigation.xml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,34 @@
2323

2424
<body>
2525
<links>
26-
<item name="Jakarta Commons"
26+
<item name="Jakarta Commons"
2727
href="http://jakarta.apache.org/commons/"/>
2828
</links>
2929

30-
<menu name="User Documentation">
31-
<item name="Introduction" href="/introduction.html"/>
30+
<menu name="CLI2">
31+
<item name="Overview" href="/manual/index.html"/>
32+
<item name="Options" href="/manual/options.html"/>
33+
<item name="Builders" href="/manual/builders.html"/>
34+
<item name="CommandLines" href="/manual/commandlines.html"/>
35+
<item name="Validators" href="/manual/validators.html"/>
36+
<item name="Utilities" href="/manual/utilities.html"/>
37+
</menu>
38+
39+
<menu name="CLI1">
40+
<item name="Overview" href="/introduction.html"/>
3241
<item name="Usage Scenarios" href="/usage.html"/>
3342
<item name="Option Properties" href="/properties.html"/>
34-
<item name="Download" href="http://jakarta.apache.org/builds/jakarta-commons/release/commons-cli/v1.0/"/>
3543
</menu>
3644

37-
<menu name="Developer Documentation">
38-
<item name="Versions and Branches" href="/versions_and_branches.html"/>
45+
<menu name="Examples">
46+
<item name="Overview" href="/examples/index.html"/>
47+
<item name="ant" href="/examples/ant.html"/>
48+
<item name="ls" href="/examples/ls.html"/>
49+
<item name="cvs" href="/examples/cvs.html"/>
50+
<item name="cp" href="/examples/cp.html"/>
3951
</menu>
40-
52+
4153
&common-menus;
54+
4255
</body>
4356
</project>

0 commit comments

Comments
 (0)