Compare commits

...

No commits in common. "master" and "gh-pages" have entirely different histories.

15 changed files with 38 additions and 463 deletions

235
.gitignore vendored
View File

@ -1,235 +0,0 @@
### Gradle ###
.gradle
build/
# Ignore Gradle GUI config
gradle-app.setting
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
# Cache of project
.gradletasknamecache
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties
### Gradle Patch ###
**/build/
### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
### Intellij Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr
# Sonarlint plugin
.idea/sonarlint
### Intellij+iml ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
### Intellij+iml Patch ###
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
*.iml
modules.xml
.idea/misc.xml
*.ipr
### Maven ###
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar
.flattened-pom.xml
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
### Intellij Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr
# Sonarlint plugin
.idea/sonarlint

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ThriftCompiler">
<compilers />
</component>
</project>

6
.idea/vcs.xml generated
View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

1
CNAME
View File

@ -1 +0,0 @@
spring-docs.ossez.com

View File

@ -1,37 +0,0 @@
# 联系方式
请使用下面的联系方式和我们联系:
| 联系方式名称 | 联系方式 |
|--------|-----------------------------------------------|
| 电子邮件 | [service@ossez.com](mailto:service@ossez.com) |
| QQ 或微信 | 103899765 |
| 社区论坛 | https://www.ossez.com/c/open-source/java/15 |
# 公众平台
我们建议您通过社区论坛来和我们进行沟通,请关注我们公众平台上的账号。
扫描 QR 关注我们的微信公众号和头条号。
## 微信公众号
![](https://cdn.ossez.com/img/cwikius/cwikius-qr-wechat-search-w400.png)
## 头条号
![](https://cdn.ossez.com/img/cwikius/cwikus-qr-toutiao.png)
## 知乎
请关注我们的知乎https://www.zhihu.com/people/huyuchengus
## 快速导航
在下面的表格中,我们列出了一些比较有用的 CWIKIUS 相关软件开发使用教程的导航,欢迎访问下面的链接获得更多的内容和参与讨论
| 网站名称 | URL | NOTE |
|----------------|--------------------------------------------------------|----------------------------|
| OSSEZ 社区 | [www.ossez.com](https://www.ossez.com/) | 开放社区,欢迎注册参与讨论 |
| WIKI 维基 | [www.cwiki.us](https://www.cwiki.us/) | 使用 Confluence 部署的 WIKI 知识库 |
| DOCS.OSSEZ.COM | [https://docs.ossez.com/#/](https://docs.ossez.com/#/) | 本手册的编译版本将会部署在这个链接上 |
| CN 博客 | [http://www.cwikius.cn/](http://www.cwikius.cn/) | CWIKIUS.CN 一个有独立思考和温度的清新站 |

View File

@ -1,27 +0,0 @@
# Spring 文档和手册(中文)
欢迎来到 Spring 文档和手册的空间
因为最近项目的工作需要,要求使用 Spring Boot 来对项目进行微型化。
我们可能会用到项目中的一些有关的内容,因此特地整理的了一些相关的文档和翻译。
本文档的翻译是基于的版本:[2.1.1.RELEASE](https://docs.spring.io/spring-boot/docs/2.1.1.RELEASE/reference/htmlsingle/) 进行编辑和发布的。
如果您想对我们的工作有什么建议,请直接 star 或 fork 我们在 GitHub 上的项目,链接地址为:[https://github.com/cwiki-us-spring-guides/Spring-Boot-Reference-Guide](https://github.com/cwiki-us-spring-guides/Spring-Boot-Reference-Guide)。
GitHub 上有关 Spring 的项目:[https://github.com/cwiki-us-spring-guides](https://github.com/cwiki-us-spring-guides)
## Spring 文档和手册快速导航
在下面的表格中,我们列出了一些比较有用的 String Boot 教程的导航,在我们文档的整理中,也参考了一些这些文档。
在这里对原作者表示感谢。
| 网站名称 | URL | NOTE |
|----------|----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|
| gitbooks | [https://cwiki-us.gitbook.io/spring-boot-reference-guide-zh/](https://cwiki-us.gitbook.io/spring-boot-reference-guide-zh/) | 手册的简体中文 Git 翻译版本,可能会被要求注册 GitBook 的用户账户。 |
| 看云 | [https://www.kancloud.cn/honeymoose/spring-boot-reference-guide](https://www.kancloud.cn/honeymoose/spring-boot-reference-guide) | 手册的简体中文 Git 翻译版本 |
[](CONTACT.md ':include')

1
_config.yml Normal file
View File

@ -0,0 +1 @@
theme: jekyll-theme-cayman

View File

@ -1,4 +0,0 @@
- CWIKIUS SPRING 文档和手册
- [概要和简介](README.md)
- [Spring 文档和手册](spring/_README.md)
- [联系我们](CONTACT.md)

View File

@ -1,52 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-W3NL9V');</script>
<!-- End Google Tag Manager -->
<title>Spring 中文文档</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="description" content="SpringBoot 中文文档">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple.css">
<style>
:root {
/* Reduce the font size */
/* --base-font-size: 14px; */
/* Change the theme color hue (0-360) */
/* --theme-hue: 325; */
/* Add sidebar navigation bullets */
/* --sidebar-nav-link-before-content-l1: "😀"; */
/* --sidebar-nav-link-before-content-l2: "💩"; */
--link-color: var(--theme-color);
}
</style>
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
name: 'Spring 中文文档',
repo: 'https://github.com/Cwikius-Docs/Spring-Docs',
executeScript: true,
loadNavbar: true,
mergeNavbar: true,
maxLevel: 4,
subMaxLevel: 2,
loadSidebar: true
}
</script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
</body>
</html>

37
index.md Normal file
View File

@ -0,0 +1,37 @@
## Welcome to GitHub Pages
You can use the [editor on GitHub](https://github.com/cwiki-us-docs/spring-boot-docs/edit/gh-pages/index.md) to maintain and preview the content for your website in Markdown files.
Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site, from the content in your Markdown files.
### Markdown
Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for
```markdown
Syntax highlighted code block
# Header 1
## Header 2
### Header 3
- Bulleted
- List
1. Numbered
2. List
**Bold** and _Italic_ and `Code` text
[Link](url) and ![Image](src)
```
For more details see [GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/).
### Jekyll Themes
Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/cwiki-us-docs/spring-boot-docs/settings). The name of this theme is saved in the Jekyll `_config.yml` configuration file.
### Support or Contact
Having trouble with Pages? Check out our [documentation](https://docs.github.com/categories/github-pages-basics/) or [contact support](https://github.com/contact) and well help you sort it out.

View File

@ -1,25 +0,0 @@
# Spring 文档和手册(中文)
Spring 是一个非常常用和重要的框架。
因为最近项目的工作需要,要求使用 Spring Boot 来对项目进微服务化。
我们可能会用到项目中的一些有关的内容,因此特地整理的了一些相关的文档和翻译。
同时又因为 Spring 的子项目非常多,因此我们对 Spring 的子项目文档单独进行编译和部署,这个页面只对子项目的内容和连接快速进行导航,来方便我们快速进行查看和定位。
### 社区和快速导航
在下面的列表格,我们列出了一些比较有用的 CWIKIUS 相关软件开发使用教程的导航,欢迎访问下面的链接获得更多的内容和参与讨论
| 网站名称 | URL | NOTE |
|----------------|--------------------------------------------------------|----------------------------|
| OSSEZ 社区 | [www.ossez.com](https://www.ossez.com/) | 开放社区,欢迎注册参与讨论 |
| WIKI 维基 | [www.cwiki.us](https://www.cwiki.us/) | 使用 Confluence 部署的 WIKI 知识库 |
| DOCS.OSSEZ.COM | [https://docs.ossez.com/#/](https://docs.ossez.com/#/) | 本手册的编译版本将会部署在这个链接上 |
| CN 博客 | [http://www.cwikius.cn/](http://www.cwikius.cn/) | CWIKIUS.CN 一个有独立思考和温度的清新站 |
[](spring-boot.md ':include')
[](spring-data-jpa.md ':include')
[](spring-security.md ':include')

View File

@ -1,30 +0,0 @@
## Spring Boot
欢迎来到 Spring Boot 的空间
因为最近项目的工作需要,要求使用 Spring Boot 来对项目进微服务化。
我们可能会用到项目中的一些有关的内容,因此特地整理的了一些相关的文档和翻译。
本文档的翻译是基于的版本:[2.3.3.RELEASE](https://docs.spring.io/spring-boot/docs/2.3.3.RELEASE/reference/htmlsingle/) 进行编辑和发布的。
如果您想对我们的工作有什么建议,请直接 star 或 fork 我们在 GitHub 上的项目,链接地址为:[https://github.com/cwiki-us-docs/spring-docs](https://github.com/cwiki-us-docs/spring-docs)。
在这个连接中,我们将所有 Spring 的项目使用 docsify 项目提供的工具来进行文档化。
在最开始的时候我们计划使用 Asciidoctor 经过使用发现 Asciidoctor 配置要求比较多会增加不少而外的工作,所以我们开始使用更加轻量的 docsify 来进行。
GitHub 上有关 Spring 的项目:[https://github.com/cwiki-us-spring-guides](https://github.com/cwiki-us-spring-guides)
### Spring Boot 文档和手册快速导航
在下面的表格中,我们列出了一些比较有用的 String Boot 教程的导航,在我们文档的整理中,也参考了一些这些文档。
在这里对原作者表示感谢。
| 网站名称 | URL | NOTE |
|---|---|---|
| gitbooks | [https://cwiki-us.gitbook.io/spring-boot-reference-guide-zh/](https://cwiki-us.gitbook.io/spring-boot-reference-guide-zh/) | 手册的简体中文 Git 翻译版本,可能会被要求注册 GitBook 的用户账户。 |
| 看云 | [https://www.kancloud.cn/honeymoose/spring-boot-reference-guide](https://www.kancloud.cn/honeymoose/spring-boot-reference-guide) | 手册的简体中文 Git 翻译版本 |
### 联系我们
请单击链接:[联系我们](CONTACT.md) 来和我们取得联系。

View File

@ -1,16 +0,0 @@
## Spring Data JPA
Spring Data JPA 的文档和手册(中文)是从下面表格中的源代码进行编译的。
Spring Data JPA 已经编译并且部署的文档和源代码请参考下面的表格:
| 网站名称 | URL | NOTE |
|---|---|---|
| 源代码 | [https://github.com/cwiki-us-spring/spring-data-jpa](https://github.com/cwiki-us-spring/spring-data-jpa) | 下面编译结果使用的源代码 |
| 参考Reference | [https://cdn.ossez.com/docs/spring-docs/spring-data-jpa/reference/html/index.html](https://cdn.ossez.com/docs/spring-docs/spring-data-jpa/reference/html/index.html) | 从官方代码库中 Fork 下来的代码后进行中文化编译后的的文档 |
| API | [https://cdn.ossez.com/docs/spring-docs/spring-data-jpa/apidocs/index.html](https://cdn.ossez.com/docs/spring-docs/spring-data-jpa/apidocs/index.html) | 官方代码库中 Fork 下面的代码后编译的 API 参考 |
### 从源代码编译 Reference 和 API

View File

@ -1,24 +0,0 @@
## Spring Security
Spring Security is a framework that provides xref:features/authentication/index.adoc[authentication], xref:features/authorization/index.adoc[authorization], and xref:features/exploits/index.adoc[protection against common attacks].
With first class support for securing both xref:servlet/index.adoc[imperative] and xref:reactive/index.adoc[reactive] applications, it is the de-facto standard for securing Spring-based applications.
For a complete list of features, see the xref:features/index.adoc[Features] section of the reference.
### Getting Started
If you are ready to start securing an application see the Getting Started sections for xref:servlet/getting-started.adoc[servlet] and xref:reactive/getting-started.adoc[reactive]. These sections will walk you through creating your first Spring Security applications.
If you want to understand how Spring Security works, you can refer to the xref:servlet/architecture.adoc[Architecture] section.
// FIXME add link to reactive architecture
If you have any questions, there is a wonderful xref:community.adoc[community] that would love to help you!
### 快速导航
在下面的表格中,我们列出了一些比较有用的 CWIKIUS 相关软件开发使用教程的导航,欢迎访问下面的链接获得更多的内容和参与讨论
| 网站名称 | URL | NOTE |
|----------------------|----------------------------------------------------------------------------------------------------------------------------|------------------------|
| Spring Security 官方文档 | [https://docs.spring.io/spring-security/reference/index.html](https://docs.spring.io/spring-security/reference/index.html) | Spring Security 官方文档链接 |
| OSSEZ 社区 | [www.ossez.com](https://www.ossez.com/) | 开放社区,欢迎注册参与讨论 |