Skip to content

Commit 49243fe

Browse files
committed
Update site schema to 2.0.0
1 parent 96a5c3a commit 49243fe

3 files changed

Lines changed: 14 additions & 12 deletions

File tree

commons-math-docs/src/site/site.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<project name="Math">
19-
<bannerRight>
20-
<name>Apache Commons Math</name>
18+
<site name="Math"
19+
xmlns="http://maven.apache.org/SITE/2.0.0"
20+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd">
22+
<!-- Use a full URL allows a correct banner for the modules. -->
23+
<bannerRight name="Apache Commons Math" href="https://commons.apache.org/proper/commons-math/index.html">
24+
<image src="https://commons.apache.org/proper/commons-math/images/commons_math.small.png"/>
2125
</bannerRight>
2226

2327
<body>
@@ -28,4 +32,4 @@
2832
</menu>
2933

3034
</body>
31-
</project>
35+
</site>

siteMods/site.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
TODO: get this generated somehow from the "real" site.xml
2121
so it does not have to be maintained separately.
2222
-->
23-
<project name="Math">
23+
<site name="Math">
2424
<skin>
2525
<groupId>org.apache.commons</groupId>
2626
<artifactId>commons-skin</artifactId>
@@ -48,4 +48,4 @@
4848
</menu>
4949

5050
</body>
51-
</project>
51+
</site>

src/site/site.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<project name="Math">
19-
<bannerRight>
20-
<name>Commons Math</name>
21-
<src>https://commons.apache.org/proper/commons-math/images/commons_math.small.png</src>
22-
<href>https://commons.apache.org/proper/commons-math</href>
18+
<site name="Math">
19+
<bannerRight name="Apache Commons Math" href="/index.html">
20+
<image src="/images/commons_math.small.png"/>
2321
</bannerRight>
2422

2523
<body>
@@ -71,4 +69,4 @@
7169
</menu>
7270

7371
</body>
74-
</project>
72+
</site>

0 commit comments

Comments
 (0)