Skip to content

Commit 9f9310b

Browse files
committed
[site] Reworking the site
1 parent 7173455 commit 9f9310b

17 files changed

+21
-25
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,8 @@
425425
<groupId>org.apache.maven.plugins</groupId>
426426
<artifactId>maven-site-plugin</artifactId>
427427
<configuration>
428-
<locales>en,es,ja,fr,zh_CN,ko</locales>
428+
<locales>default,es,ja,fr,zh_CN,ko</locales>
429+
<topSiteURL>${project.distributionManagement.site.url}</topSiteURL>
429430
</configuration>
430431
</plugin>
431432
<plugin>

src/site/pdf.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
limitations under the License.
1717
1818
-->
19-
<document xmlns="http://maven.apache.org/DOCUMENT/1.0.1"
20-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19+
<document xmlns="http://maven.apache.org/DOCUMENT/1.0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2120
xsi:schemaLocation="http://maven.apache.org/DOCUMENT/1.0.1 https://maven.apache.org/xsd/document-1.0.1.xsd"
2221
outputName="${project.artifactId}-${project.version}">
2322

src/site/site.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
limitations under the License.
1717
1818
-->
19-
<project name="${project.name}" xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd">
19+
<site name="${project.name}" xmlns="http://maven.apache.org/SITE/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd">
2121

2222
<body>
2323
<menu name="Reference Documentation">
@@ -53,4 +53,4 @@
5353

5454
<menu ref="reports"/>
5555
</body>
56-
</project>
56+
</site>

src/site/site_es.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
limitations under the License.
1717
1818
-->
19-
<project xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd"
21-
name="MyBatis">
19+
<site name="${project.name}" xmlns="http://maven.apache.org/SITE/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd">
2221

2322
<body>
2423
<menu name="Manual de Referencia">
@@ -55,4 +54,4 @@
5554

5655
<menu ref="reports"/>
5756
</body>
58-
</project>
57+
</site>

src/site/site_fr.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
limitations under the License.
1717
1818
-->
19-
<project xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd"
21-
name="MyBatis">
19+
<site name="${project.name}" xmlns="http://maven.apache.org/SITE/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd">
2221

2322
<body>
2423
<menu name="Core">
@@ -57,4 +56,4 @@
5756

5857
<menu ref="reports"/>
5958
</body>
60-
</project>
59+
</site>

src/site/site_ja.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
limitations under the License.
1717
1818
-->
19-
<project xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd"
21-
name="MyBatis">
19+
<site name="${project.name}" xmlns="http://maven.apache.org/SITE/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd">
2221

2322
<body>
2423
<menu name="Core">
@@ -56,4 +55,4 @@
5655

5756
<menu ref="reports"/>
5857
</body>
59-
</project>
58+
</site>

src/site/site_ko.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
limitations under the License.
1717
1818
-->
19-
<project xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd"
21-
name="MyBatis">
19+
<site name="${project.name}" xmlns="http://maven.apache.org/SITE/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd">
2221

2322
<body>
2423
<menu name="Core">
@@ -53,4 +52,4 @@
5352
</menu>
5453
<menu ref="reports"/>
5554
</body>
56-
</project>
55+
</site>

src/site/site_zh.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
limitations under the License.
1717
1818
-->
19-
<project name="${project.name}" xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd">
19+
<site name="${project.name}" xmlns="http://maven.apache.org/SITE/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd">
2121

2222
<body>
2323
<menu name="参考文档">
@@ -53,4 +53,4 @@
5353

5454
<menu ref="reports"/>
5555
</body>
56-
</project>
56+
</site>
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)