Skip to content

Commit

Permalink
Support doc for ko on maven site plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuki43zoo committed Jun 5, 2022
1 parent d1b1679 commit 0ba97c8
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ The project that the MyBatis integration with Spring Native feature.
### Translations

* [Reference documentation (简体中文)](docs/src/site/zh/markdown/index.md)
* [Reference documentation (한국어)](docs/src/site/ko/markdown/index.md)

## How to install on your application

Expand Down
5 changes: 3 additions & 2 deletions docs/src/site/ko/markdown/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ Define `-Djdk.serialFilter`(system properties) on `buildArgs` of `native-maven-p
마이바티스-스프링-네이티브에 대하여 다음 언어로 확인 가능합니다:

<ul class="i18n">
<li class="en"><a href="./index.html">English</a></li>
<li class="ko"><a href="./ko/index.html">한국어</a></li>
<li class="en"><a href="./../index.html">English</a></li>
<li class="zh"><a href="./../zh/index.html">简体中文</a></li>
<li class="ko"><a href="./../ko/index.html">한국어</a></li>
</ul>
1 change: 1 addition & 0 deletions docs/src/site/markdown/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,5 @@ Users can read about MyBatis-Spring-Native in the following translations:
<ul class="i18n">
<li class="en"><a href="./index.html">English</a></li>
<li class="zh"><a href="./zh/index.html">简体中文</a></li>
<li class="ko"><a href="./ko/index.html">한국어</a></li>
</ul>
25 changes: 25 additions & 0 deletions docs/src/site/site_ko.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
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.
-->
<project name="${project.name}" xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd">
<body>
<menu name="참조 문서">
</menu>
</body>
</project>
1 change: 1 addition & 0 deletions docs/src/site/zh/markdown/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,5 @@ public class MybatisSpringNativeSampleApplication {
<ul class="i18n">
<li class="en"><a href="./../index.html">English</a></li>
<li class="zh"><a href="./../zh/index.html">简体中文</a></li>
<li class="ko"><a href="./../ko/index.html">한국어</a></li>
</ul>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<locales>en,zh_CN</locales>
<locales>en,zh_CN,ko</locales>
<!-- Build using files that replace a placeholder using project properties -->
<siteDirectory>${project.build.directory}/site-src</siteDirectory>
</configuration>
Expand Down

0 comments on commit 0ba97c8

Please sign in to comment.