Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
马力西古
Spring 中文文档社区
提交
fce373dc
Spring 中文文档社区
项目概览
马力西古
/
Spring 中文文档社区
与 Fork 源项目一致
Fork自
开发云 / Spring 中文文档社区
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Spring 中文文档社区
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fce373dc
编写于
3月 08, 2022
作者:
李少辉-开发者
🎧
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
#1 暂时禁用英文
上级
3905e3e1
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
257 addition
and
217 deletion
+257
-217
docs/.vuepress/config.js
docs/.vuepress/config.js
+257
-217
未找到文件。
docs/.vuepress/config.js
浏览文件 @
fce373dc
...
...
@@ -63,11 +63,11 @@ module.exports = {
[
'
meta
'
,
{
'
http-equiv
'
:
'
X-UA-Compatible
'
,
'
content
'
:
'
IE=edge
'
}]
],
locales
:
{
'
/en/
'
:
{
lang
:
'
en-US
'
,
title
:
'
Spring Docs
'
,
description
:
''
},
//
'/en/': {
//
lang: 'en-US',
//
title: 'Spring Docs',
//
description: ''
//
},
'
/
'
:
{
lang
:
'
zh-CN
'
,
title
:
'
中文文档
'
,
...
...
@@ -91,219 +91,239 @@ module.exports = {
sidebarDepth
:
3
,
activeHeaderLinks
:
true
,
locales
:
{
'
/en/
'
:
{
// 多语言下拉菜单的标题
selectText
:
'
Language
'
,
// 该语言在下拉菜单中的标签
label
:
'
English
'
,
lastUpdated
:
'
Last Updated
'
,
lang
:
'
en-US
'
,
// 编辑链接文字
editLinkText
:
'
Edit this page on GitCode
'
,
algolia
:
{},
nav
:
[
{
text
:
'
Spring
'
,
link
:
'
/en/
'
},
{
text
:
'
Spring Boot
'
,
link
:
'
/en/spring-boot/
'
},
{
text
:
'
Spring Framework
'
,
link
:
'
/en/spring-framework/
'
},
{
text
:
'
Spring Data
'
,
link
:
'
/en/spring-data/
'
},
{
text
:
'
Spring Cloud
'
,
link
:
'
/en/spring-cloud/
'
},
{
text
:
'
More
'
,
ariaLabel
:
'
Others
'
,
items
:
[
{
text
:
'
Spring Cloud Data Flow
'
,
link
:
'
/en/spring-cloud-data-flow/
'
},
{
text
:
'
Spring Security
'
,
link
:
'
/en/spring-security/
'
},
{
text
:
'
Spring for GraphQL
'
,
link
:
'
/en/spring-for-graphql/
'
},
{
text
:
'
Spring Session
'
,
link
:
'
/en/spring-session/
'
},
{
text
:
'
Spring Integration
'
,
link
:
'
/en/spring-integration/
'
},
{
text
:
'
Spring HATEOAS
'
,
link
:
'
/en/spring-hateoas/
'
},
{
text
:
'
Spring REST Docs
'
,
link
:
'
/en/spring-rest-docs/
'
},
{
text
:
'
Spring Batch
'
,
link
:
'
/en/spring-batch/
'
},
{
text
:
'
Spring AMQP
'
,
link
:
'
/en/spring-amqp/
'
},
{
text
:
'
Spring CredHub
'
,
link
:
'
/en/spring-credhub/
'
},
{
text
:
'
Spring Flo
'
,
link
:
'
/en/spring-flo/
'
},
{
text
:
'
Spring for Apache Kafka
'
,
link
:
'
/en/spring-for-apache-kafka/
'
},
{
text
:
'
Spring LDAP
'
,
link
:
'
/en/spring-ldap/
'
},
{
text
:
'
Spring Shell
'
,
link
:
'
/en/spring-shell/
'
},
{
text
:
'
Spring Statemachine
'
,
link
:
'
/en/spring-statemachine/
'
},
{
text
:
'
Spring Vault
'
,
link
:
'
/en/spring-vault/
'
},
{
text
:
'
Spring Web Flow
'
,
link
:
'
/en/spring-web-flow/
'
},
{
text
:
'
Spring Web Services
'
,
link
:
'
/en/spring-web-services/
'
}
]
}
],
sidebar
:
{
'
/en/spring-boot/
'
:
[
{
title
:
'
Spring Boot
'
,
sidebarDepth
:
2
,
collapsable
:
false
,
children
:
[
"
/en/spring-boot/legal.md
"
,
"
/en/spring-boot/getting-help.md
"
,
"
/en/spring-boot/documentation.md
"
,
"
/en/spring-boot/getting-started.md
"
,
"
/en/spring-boot/upgrading.md
"
,
"
/en/spring-boot/using.md
"
,
"
/en/spring-boot/features.md
"
,
"
/en/spring-boot/web.md
"
,
"
/en/spring-boot/data.md
"
,
"
/en/spring-boot/io.md
"
,
"
/en/spring-boot/messaging.md
"
,
"
/en/spring-boot/container-images.md
"
,
"
/en/spring-boot/actuator.md
"
,
"
/en/spring-boot/deployment.md
"
,
"
/en/spring-boot/cli.md
"
,
"
/en/spring-boot/build-tool-plugins.md
"
,
"
/en/spring-boot/howto.md
"
],
initialOpenGroupIndex
:
0
// 可选的, 默认值是 0
}
],
'
/en/spring-framework/
'
:
[
{
title
:
'
Spring Framework
'
,
sidebarDepth
:
2
,
collapsable
:
false
,
children
:
[
"
/en/spring-framework/overview.md
"
,
"
/en/spring-framework/core.md
"
,
"
/en/spring-framework/testing.md
"
,
"
/en/spring-framework/data-access.md
"
,
"
/en/spring-framework/web-servlet.md
"
,
"
/en/spring-framework/web-reactive.md
"
,
"
/en/spring-framework/integration.md
"
,
"
/en/spring-framework/languages.md
"
],
initialOpenGroupIndex
:
0
// 可选的, 默认值是 0
}
],
'
/en/spring-data/
'
:
[
{
title
:
'
Spring Data
'
,
sidebarDepth
:
2
,
collapsable
:
false
,
children
:
[
"
/en/spring-data/spring-data.md
"
],
initialOpenGroupIndex
:
0
// 可选的, 默认值是 0
}
],
'
/en/spring-cloud/
'
:
[
{
title
:
'
Spring Cloud
'
,
sidebarDepth
:
2
,
collapsable
:
false
,
children
:
[
"
/en/spring-cloud/legal.md
"
,
"
/en/spring-cloud/documentation-overview.md
"
,
"
/en/spring-cloud/spring-cloud-build.md
"
,
"
/en/spring-cloud/spring-cloud-bus.md
"
,
"
/en/spring-cloud/spring-cloud-circuitbreaker.md
"
,
"
/en/spring-cloud/spring-cloud-cli.md
"
,
"
/en/spring-cloud/spring-cloud-cloudfoundry.md
"
,
"
/en/spring-cloud/spring-cloud-commons.md
"
,
"
/en/spring-cloud/spring-cloud-config.md
"
,
"
/en/spring-cloud/spring-cloud-consul.md
"
,
"
/en/spring-cloud/spring-cloud-contract.md
"
,
"
/en/spring-cloud/spring-cloud-function.md
"
,
"
/en/spring-cloud/spring-cloud-gateway.md
"
,
"
/en/spring-cloud/spring-cloud-kubernetes.md
"
,
"
/en/spring-cloud/spring-cloud-netflix.md
"
,
"
/en/spring-cloud/spring-cloud-openfeign.md
"
,
"
/en/spring-cloud/spring-cloud-sleuth.md
"
,
"
/en/spring-cloud/spring-cloud-stream.md
"
,
"
/en/spring-cloud/spring-cloud-task.md
"
,
"
/en/spring-cloud/spring-cloud-vault.md
"
,
"
/en/spring-cloud/spring-cloud-zookeeper.md
"
,
],
initialOpenGroupIndex
:
0
// 可选的, 默认值是 0
}
],
'
/en/spring-cloud-data-flow/
'
:
[
{
title
:
'
Spring Cloud Data Flow
'
,
sidebarDepth
:
2
,
collapsable
:
false
,
children
:
[
"
/en/spring-cloud-data-flow/spring-cloud-dataflow.md
"
,
],
initialOpenGroupIndex
:
0
// 可选的, 默认值是 0
}
],
// '/en/': {
// // 多语言下拉菜单的标题
// selectText: 'Language',
// // 该语言在下拉菜单中的标签
// label: 'English',
// lastUpdated: 'Last Updated',
// lang: 'en-US',
// // 编辑链接文字
// editLinkText: 'Edit this page on GitCode',
// algolia: {},
// nav: [
// {
// text: 'Spring',
// link: '/en/'
// },
// {
// text: 'Spring Boot',
// link: '/en/spring-boot/'
// },
// {
// text: 'Spring Framework',
// link: '/en/spring-framework/'
// },
// {
// text: 'Spring Data',
// link: '/en/spring-data/'
// },
// {
// text: 'Spring Cloud',
// link: '/en/spring-cloud/'
// },
// {
// text: 'More',
// ariaLabel: 'Others',
// items: [
// { text: 'Spring Cloud Data Flow', link: '/en/spring-cloud-data-flow/'},
// { text: 'Spring Security', link: '/en/spring-security/'},
// { text: 'Spring for GraphQL', link: '/en/spring-for-graphql/'},
// { text: 'Spring Session', link: '/en/spring-session/'},
// { text: 'Spring Integration', link: '/en/spring-integration/'},
// { text: 'Spring HATEOAS', link: '/en/spring-hateoas/'},
// { text: 'Spring REST Docs', link: '/en/spring-rest-docs/'},
// { text: 'Spring Batch', link: '/en/spring-batch/'},
// { text: 'Spring AMQP', link: '/en/spring-amqp/'},
// { text: 'Spring CredHub', link: '/en/spring-credhub/'},
// { text: 'Spring Flo', link: '/en/spring-flo/'},
// { text: 'Spring for Apache Kafka', link: '/en/spring-for-apache-kafka/'},
// { text: 'Spring LDAP', link: '/en/spring-ldap/'},
// { text: 'Spring Shell', link: '/en/spring-shell/'},
// { text: 'Spring Statemachine', link: '/en/spring-statemachine/'},
// { text: 'Spring Vault', link: '/en/spring-vault/'},
// { text: 'Spring Web Flow', link: '/en/spring-web-flow/'},
// { text: 'Spring Web Services', link: '/en/spring-web-services/'}
// ]
// }
// ],
// sidebar: {
// '/en/spring-boot/': [
// {
// title: 'Spring Boot',
// sidebarDepth: 2,
// collapsable: false,
// children: [
// "/en/spring-boot/legal.md",
// "/en/spring-boot/getting-help.md",
// "/en/spring-boot/documentation.md",
// "/en/spring-boot/getting-started.md",
// "/en/spring-boot/upgrading.md",
// "/en/spring-boot/using.md",
// "/en/spring-boot/features.md",
// "/en/spring-boot/web.md",
// "/en/spring-boot/data.md",
// "/en/spring-boot/io.md",
// "/en/spring-boot/messaging.md",
// "/en/spring-boot/container-images.md",
// "/en/spring-boot/actuator.md",
// "/en/spring-boot/deployment.md",
// "/en/spring-boot/cli.md",
// "/en/spring-boot/build-tool-plugins.md",
// "/en/spring-boot/howto.md"
// ],
// initialOpenGroupIndex: 0 // 可选的, 默认值是 0
// }
// ],
// '/en/spring-framework/': [
// {
// title: 'Spring Framework',
// sidebarDepth: 2,
// collapsable: false,
// children: [
// "/en/spring-framework/overview.md",
// "/en/spring-framework/core.md",
// "/en/spring-framework/testing.md",
// "/en/spring-framework/data-access.md",
// "/en/spring-framework/web-servlet.md",
// "/en/spring-framework/web-reactive.md",
// "/en/spring-framework/integration.md",
// "/en/spring-framework/languages.md"
// ],
// initialOpenGroupIndex: 0 // 可选的, 默认值是 0
// }
// ],
// '/en/spring-data/': [
// {
// title: 'Spring Data',
// sidebarDepth: 2,
// collapsable: false,
// children: [
// "/en/spring-data/spring-data.md"
// ],
// initialOpenGroupIndex: 0 // 可选的, 默认值是 0
// }
// ],
// '/en/spring-cloud/': [
// {
// title: 'Spring Cloud',
// sidebarDepth: 2,
// collapsable: false,
// children: [
// "/en/spring-cloud/legal.md",
// "/en/spring-cloud/documentation-overview.md",
// "/en/spring-cloud/spring-cloud-build.md",
// "/en/spring-cloud/spring-cloud-bus.md",
// "/en/spring-cloud/spring-cloud-circuitbreaker.md",
// "/en/spring-cloud/spring-cloud-cli.md",
// "/en/spring-cloud/spring-cloud-cloudfoundry.md",
// "/en/spring-cloud/spring-cloud-commons.md",
// "/en/spring-cloud/spring-cloud-config.md",
// "/en/spring-cloud/spring-cloud-consul.md",
// "/en/spring-cloud/spring-cloud-contract.md",
// "/en/spring-cloud/spring-cloud-function.md",
// "/en/spring-cloud/spring-cloud-gateway.md",
// "/en/spring-cloud/spring-cloud-kubernetes.md",
// "/en/spring-cloud/spring-cloud-netflix.md",
// "/en/spring-cloud/spring-cloud-openfeign.md",
// "/en/spring-cloud/spring-cloud-sleuth.md",
// "/en/spring-cloud/spring-cloud-stream.md",
// "/en/spring-cloud/spring-cloud-task.md",
// "/en/spring-cloud/spring-cloud-vault.md",
// "/en/spring-cloud/spring-cloud-zookeeper.md",
// ],
// initialOpenGroupIndex: 0 // 可选的, 默认值是 0
// }
// ],
// '/en/spring-cloud-data-flow/': [
// {
// title: 'Spring Cloud Data Flow',
// sidebarDepth: 2,
// collapsable: false,
// children: [
// "/en/spring-cloud-data-flow/spring-cloud-dataflow.md",
// ],
// initialOpenGroupIndex: 0 // 可选的, 默认值是 0
// }
// ],
// '/en/spring-security/': [
// {
// title: 'Spring Security',
// sidebarDepth: 2,
// collapsable: false,
// children: [
// "/en/spring-security/index.md",
// "/en/spring-security/prerequisites.md",
// "/en/spring-security/community.md",
// "/en/spring-security/whats-new.md",
// "/en/spring-security/getting-spring-security.md",
// "/en/spring-security/features.md",
// "/en/spring-security/modules.md",
// "/en/spring-security/samples.md",
// "/en/spring-security/servlet.md",
// "/en/spring-security/reactive.md"
// ],
// initialOpenGroupIndex: 0 // 可选的, 默认值是 0
// }
// ],
// fallback
'
/en/
'
:
[{
title
:
'
Spring Doc
'
,
// 必要的
// path: '/', // 可选的, 标题的跳转链接,应为绝对路径且必须存在
collapsable
:
false
,
// 可选的, 默认值是 true,
sidebarDepth
:
1
,
// 可选的, 默认值是 1
children
:
[
''
]
},
{
title
:
'
INTRO
'
,
sidebarDepth
:
2
,
collapsable
:
false
,
children
:
[
"
/en/why-spring.md
"
,
"
/en/introducing-spring-boot.md
"
,
"
/en/quickstart.md
"
],
initialOpenGroupIndex
:
0
// 可选的, 默认值是 0
},
{
title
:
'
GUIDE
'
,
sidebarDepth
:
2
,
collapsable
:
false
,
children
:
[
"
/en/system-requirements.md
"
,
"
/en/installing.md
"
,
"
/en/initializr.md
"
],
initialOpenGroupIndex
:
0
// 可选的, 默认值是 0
},
{
title
:
'
IDE
'
,
sidebarDepth
:
2
,
collapsable
:
false
,
children
:
[
"
/en/vscode_java.md
"
,
"
/en/intellij_idea.md
"
],
initialOpenGroupIndex
:
0
// 可选的, 默认值是 0
},
{
title
:
'
DEMO
'
,
sidebarDepth
:
2
,
collapsable
:
false
,
children
:
[
"
/en/getting-started_first-application.md
"
,
"
/en/rest-service.md
"
,
"
/en/consuming-rest.md
"
],
initialOpenGroupIndex
:
0
// 可选的, 默认值是 0
}
]
}
},
//
// fallback
//
'/en/':
//
[{
//
title: 'Spring Doc', // 必要的
//
// path: '/', // 可选的, 标题的跳转链接,应为绝对路径且必须存在
//
collapsable: false, // 可选的, 默认值是 true,
//
sidebarDepth: 1, // 可选的, 默认值是 1
//
children: [
//
''
//
]
//
},
//
{
//
title: 'INTRO',
//
sidebarDepth: 2,
//
collapsable: false,
//
children: [
//
"/en/why-spring.md",
//
"/en/introducing-spring-boot.md",
//
"/en/quickstart.md"
//
],
//
initialOpenGroupIndex: 0 // 可选的, 默认值是 0
//
},
//
{
//
title: 'GUIDE',
//
sidebarDepth: 2,
//
collapsable: false,
//
children: [
//
"/en/system-requirements.md",
//
"/en/installing.md",
//
"/en/initializr.md"
//
],
//
initialOpenGroupIndex: 0 // 可选的, 默认值是 0
//
},
//
{
//
title: 'IDE',
//
sidebarDepth: 2,
//
collapsable: false,
//
children: [
//
"/en/vscode_java.md",
//
"/en/intellij_idea.md"
//
],
//
initialOpenGroupIndex: 0 // 可选的, 默认值是 0
//
},
//
{
//
title: 'DEMO',
//
sidebarDepth: 2,
//
collapsable: false,
//
children: [
//
"/en/getting-started_first-application.md",
//
"/en/rest-service.md",
//
"/en/consuming-rest.md"
//
],
//
initialOpenGroupIndex: 0 // 可选的, 默认值是 0
//
}
//
]
//
}
//
},
'
/
'
:
{
selectText
:
'
选择语言
'
,
label
:
'
简体中文
'
,
...
...
@@ -458,6 +478,26 @@ module.exports = {
initialOpenGroupIndex
:
0
// 可选的, 默认值是 0
}
],
// '/spring-security/': [
// {
// title: 'Spring 安全',
// sidebarDepth: 2,
// collapsable: false,
// children: [
// "/spring-security/overview.md",
// "/spring-security/prerequisites.md",
// "/spring-security/community.md",
// "/spring-security/whats-new.md",
// "/spring-security/getting-spring-security.md",
// "/spring-security/features.md",
// "/spring-security/modules.md",
// "/spring-security/samples.md",
// "/spring-security/servlet.md",
// "/spring-security/reactive.md"
// ],
// initialOpenGroupIndex: 0 // 可选的, 默认值是 0
// }
// ],
// fallback
'
/
'
:
[{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录