Skip to content

Commit eea0f8c

Browse files
committed
Hardcode fewer references to version numbers.
Prefix component name with "Apache" for first reference on a page.
1 parent 7385e63 commit eea0f8c

3 files changed

Lines changed: 22 additions & 22 deletions

File tree

src/main/java/org/apache/commons/cli/overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
-->
1717
<body>
1818

19-
<p>Commons CLI.</p>
19+
<p>Apache Commons CLI.</p>
2020

2121
<p>The commons-cli package aides in parsing command-line arguments.</p>
2222

src/site/site.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<project name="Commons CLI">
18+
<project name="Apache Commons CLI">
1919
<bannerRight>
20-
<name>Commons CLI</name>
20+
<name>Apache Commons CLI</name>
2121
<src>/images/logo.png</src>
2222
<href>/index.html</href>
2323
</bannerRight>
@@ -34,7 +34,7 @@
3434

3535
<menu name="User Guide">
3636
<item name="Getting started" href="/introduction.html"/>
37-
<item name="Usage scenarios" href="/usage.html"/>
37+
<item name="Using CLI" href="/usage.html"/>
3838
<item name="Option properties" href="/properties.html"/>
3939
<item name="Javadoc" href="/apidocs/index.html"/>
4040
<item name="Javadoc Archive" href="https://javadoc.io/doc/commons-cli/commons-cli/latest/index.html"/>

src/site/xdoc/index.xml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,11 @@ usage: ls
6262
</section>
6363

6464
<section name="CLI 2?">
65-
<p>Commons CLI 1.0 was formed from the merger of ideas and code from three different libraries -
66-
Werken, Avalon and Optz. In dealing with the bugs and the feature requests a freshly designed and not
67-
backwards compatible CLI 2 was created in 2004, but never finished or released. </p>
68-
65+
<p>
66+
Commons CLI 1.0 was formed from the merger of ideas and code from three different libraries -
67+
Werken, Avalon and Optz. In dealing with the bugs and the feature requests a freshly designed and not
68+
backwards compatible CLI 2 was created in 2004, but never finished or released.
69+
</p>
6970
<p>The current plan is to continue to maintain the 1.x line. The CLI2 work may be found in the Commons Sandbox. </p>
7071
</section>
7172

@@ -78,12 +79,8 @@ usage: ls
7879
The Javadoc API documents are available online:
7980
</p>
8081
<ul>
81-
<li><a href="javadocs/api-release/index.html">CLI 1.4 (current release)</a></li>
82-
<li><a href="javadocs/api-1.3.1/index.html">CLI 1.3.1</a></li>
83-
<li><a href="javadocs/api-1.3/index.html">CLI 1.3</a></li>
84-
<li><a href="javadocs/api-1.2/index.html">CLI 1.2</a></li>
85-
<li><a href="javadocs/api-1.1/index.html">CLI 1.1</a></li>
86-
<li><a href="javadocs/api-1.0/index.html">CLI 1.0</a></li>
82+
<li><a href="/apidocs/index.html">Javadoc latest</a></li>
83+
<li><a href="https://javadoc.io/doc/commons-cli/commons-cli/latest/index.html">Javadoc archives</a></li>
8784
</ul>
8885
<p>
8986
The <a href="scm.html">source repository</a> can be
@@ -93,23 +90,26 @@ usage: ls
9390

9491
<section name="Releases">
9592
<p>
96-
The latest version is v1.4 -
97-
<a href="https://commons.apache.org/cli/download_cli.cgi">Download now!</a>
93+
<a href="https://commons.apache.org/cli/download_cli.cgi">Download</a> the latest version.
9894
<br/>
99-
The <a href="release_1_4.html">release notes</a> are also available.
95+
The <a href="/changes-report.html">release notes</a> are also available.
10096
</p>
10197
<p>
10298
For previous releases, see the <a href="https://archive.apache.org/dist/commons/cli/">Apache Archive</a>.
10399
</p>
104100
</section>
105101

106102
<section name="Support">
107-
<p>The <a href="mail-lists.html">commons mailing lists</a> act as the main support forum. The user list
108-
is suitable for most library usage queries. The dev list is intended for the development discussion. Please
109-
remember that the lists are shared between all commons components, so prefix your email subject by
110-
<code>[cli]</code>.</p>
103+
<p>
104+
The <a href="mail-lists.html">commons mailing lists</a> act as the main support forum. The user list
105+
is suitable for most library usage queries. The dev list is intended for the development discussion. Please
106+
remember that the lists are shared between all commons components, so prefix your email subject by
107+
<code>[cli]</code>.
108+
</p>
111109

112-
<p>Issues may be reported via the <a href="issue-tracking.html">ASF JIRA</a>.</p>
110+
<p>
111+
Issues may be reported via the <a href="issue-tracking.html">ASF JIRA</a>.
112+
</p>
113113
</section>
114114

115115
</body>

0 commit comments

Comments
 (0)