Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ MyBatis Spring-Boot-Starter will help you to use MyBatis with Spring Boot
* [See the docs](https://github.com/mybatis/spring-boot-starter/blob/master/mybatis-spring-boot-autoconfigure/src/site/markdown/index.md)
* [See the docs for testing](https://github.com/mybatis/spring-boot-starter/blob/master/mybatis-spring-boot-test-autoconfigure/src/site/markdown/index.md)

Translations:

* [See the docs(简体中文)](https://github.com/mybatis/spring-boot-starter/blob/master/mybatis-spring-boot-autoconfigure/src/site/zh/markdown/index.md)


## Quick Start

* [See the wiki page](https://github.com/mybatis/spring-boot-starter/wiki/Quick-Start)
Expand Down
9 changes: 9 additions & 0 deletions mybatis-spring-boot-autoconfigure/src/site/markdown/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Introduction

## Translations

Users can read about MyBatis-Spring-Boot-Starter 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>
</ul>

## What is MyBatis-Spring-Boot-Starter?

The MyBatis-Spring-Boot-Starter help you build quickly MyBatis applications on top of the [Spring Boot](https://spring.io/projects/spring-boot).
Expand Down
29 changes: 29 additions & 0 deletions mybatis-spring-boot-autoconfigure/src/site/resources/css/site.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* Copyright 2015-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.
*/
/*
* when new flags are needed, take them from
*
* http://www.printableworldflags.com/flag-icon
*
* that are free for any kind of usage
*/

ul.i18n {list-style-type:none;}
li.en {background: url('../images/en.png') left no-repeat;padding-left: 32px; margin: 10px}
li.es {background: url('../images/es.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ja {background: url('../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh {background: url('../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ko {background: url('../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* Copyright 2015-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.
*/
/*
* when new flags are needed, take them from
*
* http://www.printableworldflags.com/flag-icon
*
* that are free for any kind of usage
*/

ul.i18n {list-style-type:none;}
li.en {background: url('../../images/en.png') left no-repeat;padding-left: 32px; margin: 10px}
li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* Copyright 2015-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.
*/
/*
* when new flags are needed, take them from
*
* http://www.printableworldflags.com/flag-icon
*
* that are free for any kind of usage
*/

ul.i18n {list-style-type:none;}
li.en {background: url('../../images/en.png') left no-repeat;padding-left: 32px; margin: 10px}
li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* Copyright 2015-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.
*/
/*
* when new flags are needed, take them from
*
* http://www.printableworldflags.com/flag-icon
*
* that are free for any kind of usage
*/

ul.i18n {list-style-type:none;}
li.en {background: url('../../images/en.png') left no-repeat;padding-left: 32px; margin: 10px}
li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* Copyright 2015-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.
*/
/*
* when new flags are needed, take them from
*
* http://www.printableworldflags.com/flag-icon
*
* that are free for any kind of usage
*/

ul.i18n {list-style-type:none;}
li.en {background: url('../../images/en.png') left no-repeat;padding-left: 32px; margin: 10px}
li.es {background: url('../../images/es.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ja {background: url('../../images/ja.png') left no-repeat;padding-left: 32px; margin: 10px}
li.zh {background: url('../../images/zh.png') left no-repeat;padding-left: 32px; margin: 10px}
li.ko {background: url('../../images/ko.png') left no-repeat;padding-left: 32px; margin: 10px}
29 changes: 29 additions & 0 deletions mybatis-spring-boot-autoconfigure/src/site/site_zh.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright 2015-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="参考文件">
<item name="介绍" href="index.html"/>
</menu>

<menu ref="reports"/>
</body>
</project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# 简介

## 文档的翻译版本

可以阅读以下 MyBatis-Spring-Boot-Starter 文档的翻译版本:

<ul class="i18n">
<li class="en"><a href="./../index.html">English</a></li>
<li class="zh"><a href="./../zh/index.html">简体中文</a></li>
</ul>

## 什么是 MyBatis-Spring-Boot-Starter?

MyBatis-Spring-Boot-Starter 可以帮助你更快地在 [Spring Boot](https://spring.io/projects/spring-boot) 之上构建 MyBatis 应用。
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<locales>en,zh_CN</locales>
<!-- Build using files that replace a placeholder using project properties -->
<siteDirectory>${project.build.directory}/site-src</siteDirectory>
</configuration>
Expand Down