Skip to content

Commit

Permalink
Finished spring features section
Browse files Browse the repository at this point in the history
  • Loading branch information
oopsguy committed Feb 24, 2019
1 parent b881530 commit 3e073da
Show file tree
Hide file tree
Showing 5 changed files with 542 additions and 20 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,28 @@

[Github](https://github.com/DocsHome/springboot/blob/master/SUMMARY.md) | [Gitbook](https://www.gitbook.com/book/docshome/springboot)

## 安装

本项目使用 [GitBook](https://www.gitbook.com) 生成文档,如果您想在本地运行项目,请先安装 GitBook。

安装 GitBook 命令行工具(请确保您已经安装了 [Node.js](https://nodejs.org) 和 npm)。

```bash
npm install gitbook-cli -g
```

进入项目根目录,执行以下命令安装 gitbook 依赖:

```bash
gitbook install
```

启动本地服务器

```bash
gitbook serve
```

## 项目状态

翻译中……
Expand Down
34 changes: 31 additions & 3 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,35 @@
- [46、WebSocket](pages/spring-boot-features.md#boot-features-websockets)
- [47、Web Service](pages/spring-boot-features.md#boot-features-webservices)
- [47.1、使用 `WebServiceTemplate` 调用 Web Service](pages/spring-boot-features.md#boot-features-webservices-template)
- 48、创建自己的自动配置
- 49、Kotlin 支持
- 50、下一步
- [49、创建自己的自动配置](pages/spring-boot-features.md#boot-features-developing-auto-configuration)
- [49.1、理解自定配置 Bean](pages/spring-boot-features.md#boot-features-understanding-auto-configured-beans)
- [49.2、找到候选的自动配置](pages/spring-boot-features.md#boot-features-locating-auto-configuration-candidates)
- [49.3、条件注解](pages/spring-boot-features.md#boot-features-condition-annotations)
- [49.3.1、类条件](pages/spring-boot-features.md#boot-features-class-conditions)
- [49.3.2、Bean 条件](pages/spring-boot-features.md#boot-features-bean-conditions)
- [49.3.3、属性条件](pages/spring-boot-features.md#boot-features-property-conditions)
- [49.3.4、资源条件](pages/spring-boot-features.md#boot-features-resource-conditions)
- [49.3.5、Web 应用程序条件](pages/spring-boot-features.md#boot-features-web-application-conditions)
- [49.3.6、SpEL 表达式条件](pages/spring-boot-features.md#boot-features-spel-conditions)
- [49.4、测试自动配置](pages/spring-boot-features.md#boot-features-test-autoconfig)
- [49.4.1、模拟一个 Web 上下文](pages/spring-boot-features.md#_simulating_a_web_context)
- [49.4.2、覆盖 Classpath](pages/spring-boot-features.md#_overriding_the_classpath)
- [49.5、创建自己的 Starter](pages/spring-boot-features.md#boot-features-custom-starter)
- [49.5.1、命名](pages/spring-boot-features.md#boot-features-custom-starter-naming)
- [49.5.2、`autoconfigure` 模块](pages/spring-boot-features.md#boot-features-custom-starter-module-autoconfigure)
- [49.5.3、Starter 模块](pages/spring-boot-features.md#boot-features-custom-starter-module-starter)
- [50、Kotlin 支持](pages/spring-boot-features.md#boot-features-kotlin)
- [50.1、要求](pages/spring-boot-features.md#boot-features-kotlin-requirements)
- [50.2、Null 安全](pages/spring-boot-features.md#boot-features-kotlin-null-safety)
- [50.3、Kotlin API](pages/spring-boot-features.md#boot-features-kotlin-api)
- [50.3.1、runApplication](pages/spring-boot-features.md#boot-features-kotlin-api-runapplication)
- [50.3.2、扩展](pages/spring-boot-features.md#boot-features-kotlin-api-extensions)
- [50.4、依赖管理](pages/spring-boot-features.md#boot-features-kotlin-dependency-management)
- [50.5、`@ConfigurationProperties`](pages/spring-boot-features.md#boot-features-kotlin-configuration-properties)
- [50.6、测试](pages/spring-boot-features.md#boot-features-kotlin-testing)
- [50.7、资源](pages/spring-boot-features.md#boot-features-kotlin-resources)
- [50.7.1、进阶阅读](pages/spring-boot-features.md#boot-features-kotlin-resources-further-reading)
- [50.7.2、示例](pages/spring-boot-features.md#boot-features-kotlin-resources-examples)

- [51、下一步](pages/spring-boot-features.md#boot-features-whats-next)

2 changes: 1 addition & 1 deletion book.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"pluginsConfig": {
"prism": {
"css": [
"prismjs/themes/prism-solarizedlight.css"
"prismjs/themes/prism-twilight.css"
]
},
"github": {
Expand Down
2 changes: 1 addition & 1 deletion pages/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Spring Boot 依赖 `org.springframework.boot` `group`。通常,您的项目将
这是一个典型的 `build.gradle` 文件:

```gradle
```groovy
plugins {
id 'org.springframework.boot' version '1.5.4.RELEASE'
id 'java'
Expand Down
Loading

0 comments on commit 3e073da

Please sign in to comment.