Skip to content

Commit 9a94ba7

Browse files
committed
Port site from Doxia 1 to 2
- Normalize logo file name - Normalize site menu
1 parent a016740 commit 9a94ba7

22 files changed

+100
-57
lines changed
File renamed without changes.

src/site/site.xml

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,35 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<project name="Commons IO">
19-
<bannerRight>
20-
<name>Commons IO</name>
21-
<src>/images/io-logo-white.png</src>
22-
<href>/index.html</href>
23-
</bannerRight>
24-
25-
<body>
26-
<menu name="Commons IO">
27-
<item name="Overview" href="/index.html"/>
28-
<item name="Download" href="https://commons.apache.org/io/download_io.cgi"/>
29-
<item name="User guide" href="/description.html"/>
30-
<item name="Best practices" href="/bestpractices.html"/>
31-
<item name="Javadoc" href="/apidocs/index.html"/>
32-
<item name="Javadoc Archive" href="https://javadoc.io/doc/commons-io/commons-io/latest/index.html"/>
33-
</menu>
34-
35-
<menu name="Development">
36-
<item name="Building" href="/building.html"/>
37-
<item name="Mailing lists" href="/mail-lists.html"/>
38-
<item name="Issue Tracking" href="/issue-tracking.html"/>
39-
<item name="Team" href="/team.html"/>
40-
<item name="Proposal" href="/proposal.html"/>
41-
<item name="Source repository" href="/scm.html"/>
42-
</menu>
43-
44-
</body>
45-
46-
</project>
18+
<site xmlns="http://maven.apache.org/SITE/2.0.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 http://maven.apache.org/xsd/site-2.0.0.xsd"
21+
name="Apache Commons IO">
22+
<bannerRight name="Commons IO" href="/index.html">
23+
<image src="/images/logo.png"/>
24+
</bannerRight>
25+
<body>
26+
<menu name="Commons IO">
27+
<!-- Start: For all components. -->
28+
<item name="About" href="/index.html" />
29+
<item name="Asking Questions" href="/mail-lists.html" />
30+
<item name="Release History" href="/changes.html" />
31+
<item name="Issue Tracking" href="/issue-management.html" />
32+
<item name="Dependency Management" href="/dependency-info.html" />
33+
<item name="Sources" href="/scm.html" />
34+
<item name="Security" href="/security.html" />
35+
<item name="License" href="https://www.apache.org/licenses/LICENSE-2.0" />
36+
<item name="Code of Conduct" href="https://www.apache.org/foundation/policies/conduct.html" />
37+
<item name="Download" href="/download_io.cgi" />
38+
<item name="Javadoc">
39+
<item name="Javadoc Current" href="/apidocs/index.html" />
40+
<item name="Javadoc Archive" href="https://javadoc.io/doc/commons-io/commons-io" />
41+
</item>
42+
<!-- End: For all components. -->
43+
<item name="Users guide" href="/description.html"/>
44+
<item name="Best practices" href="/bestpractices.html"/>
45+
<item name="Building" href="/building.html"/>
46+
<item name="Proposal" href="/proposal.html"/>
47+
</menu>
48+
</body>
49+
</site>

src/site/xdoc/bestpractices.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<document>
18+
<document xmlns="http://maven.apache.org/XDOC/2.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
1921
<properties>
2022
<title>Best practices</title>
2123
<author email="[email protected]">Commons Documentation Team</author>

src/site/xdoc/building.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<document>
18+
<document xmlns="http://maven.apache.org/XDOC/2.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
1921
<properties>
2022
<title>Building</title>
2123
<author email="[email protected]">Commons Documentation Team</author>

src/site/xdoc/description.xml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<document>
18+
<document xmlns="http://maven.apache.org/XDOC/2.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
1921
<properties>
2022
<title>User guide</title>
2123
<author email="[email protected]">Commons Documentation Team</author>
@@ -268,15 +270,15 @@ limitations under the License.
268270
<code>org.apache.commons.io.output</code> packages
269271
contain various useful implementations of streams.
270272
These include:
271-
<ul>
272-
<li>Null output stream - that silently absorbs all data sent to it</li>
273-
<li>Tee output stream - that sends output data to two streams instead of one</li>
274-
<li>Byte array output stream - that is a faster version of the JDK class</li>
275-
<li>Counting streams - that count the number of bytes passed</li>
276-
<li>Proxy streams - that delegate to the correct method in the proxy</li>
277-
<li>Lockable writer - that provides synchronization of writes using a lock file</li>
278-
</ul>
279273
</p>
274+
<ul>
275+
<li>Null output stream - that silently absorbs all data sent to it</li>
276+
<li>Tee output stream - that sends output data to two streams instead of one</li>
277+
<li>Byte array output stream - that is a faster version of the JDK class</li>
278+
<li>Counting streams - that count the number of bytes passed</li>
279+
<li>Proxy streams - that delegate to the correct method in the proxy</li>
280+
<li>Lockable writer - that provides synchronization of writes using a lock file</li>
281+
</ul>
280282
<p>
281283
See the
282284
<a href="apidocs/index.html?org/apache/commons/io/input/package-summary.html">input</a> or

src/site/xdoc/index.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<document>
18+
<document xmlns="http://maven.apache.org/XDOC/2.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
1921
<properties>
2022
<title>Commons IO Overview</title>
2123
<author email="[email protected]">Commons Documentation Team</author>

src/site/xdoc/proposal.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<document>
18+
<document xmlns="http://maven.apache.org/XDOC/2.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
1921
<properties>
2022
<title>Proposal</title>
2123
<author email="[email protected]">Commons Documentation Team</author>

src/site/xdoc/tasks.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<document>
18+
<document xmlns="http://maven.apache.org/XDOC/2.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
1921
<properties>
2022
<title>Tasks</title>
2123
<author email="[email protected]">Commons Documentation Team</author>

src/site/xdoc/upgradeto1_1.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<document>
18+
<document xmlns="http://maven.apache.org/XDOC/2.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
1921
<properties>
2022
<title>Upgrade from 1.0 to 1.1</title>
2123
<author email="[email protected]">Commons Documentation Team</author>

src/site/xdoc/upgradeto1_2.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<document>
18+
<document xmlns="http://maven.apache.org/XDOC/2.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
1921
<properties>
2022
<title>Upgrade from 1.1 to 1.2</title>
2123
<author email="[email protected]">Commons Documentation Team</author>

0 commit comments

Comments
 (0)