This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new 9a94ba79f Port site from Doxia 1 to 2
9a94ba79f is described below
commit 9a94ba79f82783247ac452766f80b71c60c7baef
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Jan 23 09:50:20 2025 -0500
Port site from Doxia 1 to 2
- Normalize logo file name
- Normalize site menu
---
.../images/{io-logo-white.png => logo.png} | Bin
src/site/site.xml | 61 +++++++++++----------
src/site/xdoc/bestpractices.xml | 4 +-
src/site/xdoc/building.xml | 4 +-
src/site/xdoc/description.xml | 20 ++++---
src/site/xdoc/index.xml | 4 +-
src/site/xdoc/proposal.xml | 4 +-
src/site/xdoc/tasks.xml | 4 +-
src/site/xdoc/upgradeto1_1.xml | 4 +-
src/site/xdoc/upgradeto1_2.xml | 4 +-
src/site/xdoc/upgradeto1_3.xml | 4 +-
src/site/xdoc/upgradeto1_3_1.xml | 4 +-
src/site/xdoc/upgradeto1_3_2.xml | 4 +-
src/site/xdoc/upgradeto1_4.xml | 4 +-
src/site/xdoc/upgradeto2_0.xml | 4 +-
src/site/xdoc/upgradeto2_0_1.xml | 4 +-
src/site/xdoc/upgradeto2_1.xml | 4 +-
src/site/xdoc/upgradeto2_2.xml | 4 +-
src/site/xdoc/upgradeto2_3.xml | 4 +-
src/site/xdoc/upgradeto2_4.xml | 4 +-
src/site/xdoc/upgradeto2_5.xml | 4 +-
src/site/xdoc/upgradeto2_6.xml | 4 +-
22 files changed, 100 insertions(+), 57 deletions(-)
diff --git a/src/site/resources/images/io-logo-white.png
b/src/site/resources/images/logo.png
similarity index 100%
rename from src/site/resources/images/io-logo-white.png
rename to src/site/resources/images/logo.png
diff --git a/src/site/site.xml b/src/site/site.xml
index 8a831d6fd..7d28cfd68 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -15,32 +15,35 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<project name="Commons IO">
- <bannerRight>
- <name>Commons IO</name>
- <src>/images/io-logo-white.png</src>
- <href>/index.html</href>
- </bannerRight>
-
- <body>
- <menu name="Commons IO">
- <item name="Overview" href="/index.html"/>
- <item name="Download"
href="https://commons.apache.org/io/download_io.cgi"/>
- <item name="User guide" href="/description.html"/>
- <item name="Best practices" href="/bestpractices.html"/>
- <item name="Javadoc" href="/apidocs/index.html"/>
- <item name="Javadoc Archive"
href="https://javadoc.io/doc/commons-io/commons-io/latest/index.html"/>
- </menu>
-
- <menu name="Development">
- <item name="Building" href="/building.html"/>
- <item name="Mailing lists" href="/mail-lists.html"/>
- <item name="Issue Tracking" href="/issue-tracking.html"/>
- <item name="Team" href="/team.html"/>
- <item name="Proposal" href="/proposal.html"/>
- <item name="Source repository" href="/scm.html"/>
- </menu>
-
- </body>
-
-</project>
+<site xmlns="http://maven.apache.org/SITE/2.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0
http://maven.apache.org/xsd/site-2.0.0.xsd"
+ name="Apache Commons IO">
+ <bannerRight name="Commons IO" href="/index.html">
+ <image src="/images/logo.png"/>
+ </bannerRight>
+ <body>
+ <menu name="Commons IO">
+ <!-- Start: For all components. -->
+ <item name="About" href="/index.html" />
+ <item name="Asking Questions" href="/mail-lists.html" />
+ <item name="Release History" href="/changes.html" />
+ <item name="Issue Tracking" href="/issue-management.html" />
+ <item name="Dependency Management" href="/dependency-info.html" />
+ <item name="Sources" href="/scm.html" />
+ <item name="Security" href="/security.html" />
+ <item name="License" href="https://www.apache.org/licenses/LICENSE-2.0"
/>
+ <item name="Code of Conduct"
href="https://www.apache.org/foundation/policies/conduct.html" />
+ <item name="Download" href="/download_io.cgi" />
+ <item name="Javadoc">
+ <item name="Javadoc Current" href="/apidocs/index.html" />
+ <item name="Javadoc Archive"
href="https://javadoc.io/doc/commons-io/commons-io" />
+ </item>
+ <!-- End: For all components. -->
+ <item name="Users guide" href="/description.html"/>
+ <item name="Best practices" href="/bestpractices.html"/>
+ <item name="Building" href="/building.html"/>
+ <item name="Proposal" href="/proposal.html"/>
+ </menu>
+ </body>
+</site>
diff --git a/src/site/xdoc/bestpractices.xml b/src/site/xdoc/bestpractices.xml
index eb1a61e5e..54a64590e 100644
--- a/src/site/xdoc/bestpractices.xml
+++ b/src/site/xdoc/bestpractices.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Best practices</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/building.xml b/src/site/xdoc/building.xml
index c0143d84a..69db4be47 100644
--- a/src/site/xdoc/building.xml
+++ b/src/site/xdoc/building.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Building</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/description.xml b/src/site/xdoc/description.xml
index 75fdd18cf..8fc9d075e 100644
--- a/src/site/xdoc/description.xml
+++ b/src/site/xdoc/description.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>User guide</title>
<author email="[email protected]">Commons Documentation Team</author>
@@ -268,15 +270,15 @@ limitations under the License.
<code>org.apache.commons.io.output</code> packages
contain various useful implementations of streams.
These include:
- <ul>
- <li>Null output stream - that silently absorbs all data sent to
it</li>
- <li>Tee output stream - that sends output data to two streams
instead of one</li>
- <li>Byte array output stream - that is a faster version of the JDK
class</li>
- <li>Counting streams - that count the number of bytes passed</li>
- <li>Proxy streams - that delegate to the correct method in the
proxy</li>
- <li>Lockable writer - that provides synchronization of writes
using a lock file</li>
- </ul>
</p>
+ <ul>
+ <li>Null output stream - that silently absorbs all data sent to
it</li>
+ <li>Tee output stream - that sends output data to two streams
instead of one</li>
+ <li>Byte array output stream - that is a faster version of the JDK
class</li>
+ <li>Counting streams - that count the number of bytes passed</li>
+ <li>Proxy streams - that delegate to the correct method in the
proxy</li>
+ <li>Lockable writer - that provides synchronization of writes using
a lock file</li>
+ </ul>
<p>
See the
<a
href="apidocs/index.html?org/apache/commons/io/input/package-summary.html">input</a>
or
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index d412e94d0..3e9c66f60 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Commons IO Overview</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/proposal.xml b/src/site/xdoc/proposal.xml
index 08562342c..ba1e1de35 100644
--- a/src/site/xdoc/proposal.xml
+++ b/src/site/xdoc/proposal.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Proposal</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/tasks.xml b/src/site/xdoc/tasks.xml
index 76919fd3e..ef39c3bb9 100644
--- a/src/site/xdoc/tasks.xml
+++ b/src/site/xdoc/tasks.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Tasks</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto1_1.xml b/src/site/xdoc/upgradeto1_1.xml
index 5920adf06..9af3be7ff 100644
--- a/src/site/xdoc/upgradeto1_1.xml
+++ b/src/site/xdoc/upgradeto1_1.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 1.0 to 1.1</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto1_2.xml b/src/site/xdoc/upgradeto1_2.xml
index a38e89d68..eb80cd200 100644
--- a/src/site/xdoc/upgradeto1_2.xml
+++ b/src/site/xdoc/upgradeto1_2.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 1.1 to 1.2</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto1_3.xml b/src/site/xdoc/upgradeto1_3.xml
index 91a18088d..d2a5fed82 100644
--- a/src/site/xdoc/upgradeto1_3.xml
+++ b/src/site/xdoc/upgradeto1_3.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 1.2 to 1.3</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto1_3_1.xml b/src/site/xdoc/upgradeto1_3_1.xml
index baec5c115..ade5ebe98 100644
--- a/src/site/xdoc/upgradeto1_3_1.xml
+++ b/src/site/xdoc/upgradeto1_3_1.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 1.3 to 1.3.1</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto1_3_2.xml b/src/site/xdoc/upgradeto1_3_2.xml
index 4baebea60..4b1b41305 100644
--- a/src/site/xdoc/upgradeto1_3_2.xml
+++ b/src/site/xdoc/upgradeto1_3_2.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 1.3, or 1.3.1, to 1.3.2</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto1_4.xml b/src/site/xdoc/upgradeto1_4.xml
index de0576f8d..46b43a220 100644
--- a/src/site/xdoc/upgradeto1_4.xml
+++ b/src/site/xdoc/upgradeto1_4.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 1.3.2 to 1.4</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto2_0.xml b/src/site/xdoc/upgradeto2_0.xml
index 78769bf5c..6c6451d78 100644
--- a/src/site/xdoc/upgradeto2_0.xml
+++ b/src/site/xdoc/upgradeto2_0.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 1.4 to 2.0</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto2_0_1.xml b/src/site/xdoc/upgradeto2_0_1.xml
index 5f6f53eaa..1d28634c1 100644
--- a/src/site/xdoc/upgradeto2_0_1.xml
+++ b/src/site/xdoc/upgradeto2_0_1.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 2.0 to 2.0.1</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto2_1.xml b/src/site/xdoc/upgradeto2_1.xml
index cf80d553c..509b494b4 100644
--- a/src/site/xdoc/upgradeto2_1.xml
+++ b/src/site/xdoc/upgradeto2_1.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 2.0.1 to 2.1</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto2_2.xml b/src/site/xdoc/upgradeto2_2.xml
index 45497e693..2c8706733 100644
--- a/src/site/xdoc/upgradeto2_2.xml
+++ b/src/site/xdoc/upgradeto2_2.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 2.1 to 2.2</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto2_3.xml b/src/site/xdoc/upgradeto2_3.xml
index 667ae44f6..399b5f080 100644
--- a/src/site/xdoc/upgradeto2_3.xml
+++ b/src/site/xdoc/upgradeto2_3.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 2.2 to 2.3</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto2_4.xml b/src/site/xdoc/upgradeto2_4.xml
index 9f4646826..2f608758b 100644
--- a/src/site/xdoc/upgradeto2_4.xml
+++ b/src/site/xdoc/upgradeto2_4.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 2.3 to 2.4</title>
<author email="[email protected]">Commons Documentation Team</author>
diff --git a/src/site/xdoc/upgradeto2_5.xml b/src/site/xdoc/upgradeto2_5.xml
index b8eb402bd..34368d292 100644
--- a/src/site/xdoc/upgradeto2_5.xml
+++ b/src/site/xdoc/upgradeto2_5.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 2.4 to 2.5</title>
<author email="[email protected]">Commons Documentation
Team</author>
diff --git a/src/site/xdoc/upgradeto2_6.xml b/src/site/xdoc/upgradeto2_6.xml
index d8c7f8bf9..59db6beab 100644
--- a/src/site/xdoc/upgradeto2_6.xml
+++ b/src/site/xdoc/upgradeto2_6.xml
@@ -15,7 +15,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<document>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0
http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Upgrade from 2.5 to 2.6</title>
<author email="[email protected]">Commons Documentation
Team</author>