From 7b92502d42cffd5378841dc0955e0c281ade679a Mon Sep 17 00:00:00 2001 From: Richard Chien Date: Wed, 22 Aug 2018 13:27:27 +0800 Subject: [PATCH] Add advanced skeleton --- docs/.vuepress/config.js | 11 ++++++++++- docs/advanced/argparse.md | 1 + docs/advanced/configuration.md | 1 + docs/advanced/decorator.md | 1 + docs/advanced/deployment.md | 1 + docs/advanced/larger-application.md | 1 + docs/advanced/logging.md | 1 + docs/advanced/message.md | 1 + docs/advanced/permission.md | 1 + docs/advanced/session.md | 1 + ...basic-configurations.md => basic-configuration.md} | 0 11 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 docs/advanced/argparse.md create mode 100644 docs/advanced/configuration.md create mode 100644 docs/advanced/decorator.md create mode 100644 docs/advanced/deployment.md create mode 100644 docs/advanced/larger-application.md create mode 100644 docs/advanced/logging.md create mode 100644 docs/advanced/message.md create mode 100644 docs/advanced/permission.md create mode 100644 docs/advanced/session.md rename docs/guide/{basic-configurations.md => basic-configuration.md} (100%) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 7d5d6c00..a5c4ed66 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -28,7 +28,7 @@ module.exports = { 'installation', 'getting-started', 'whats-happened', - 'basic-configurations', + 'basic-configuration', 'writing-commands', 'writing-nl-processors', 'tuling', @@ -43,6 +43,15 @@ module.exports = { collapsable: false, children: [ '', + 'message', + 'session', + 'permission', + 'decorator', + 'logging', + 'configuration', + 'argparse', + 'larger-application', + 'deployment', ] } ], diff --git a/docs/advanced/argparse.md b/docs/advanced/argparse.md new file mode 100644 index 00000000..e4f2e35c --- /dev/null +++ b/docs/advanced/argparse.md @@ -0,0 +1 @@ +# `argparse` 模块 diff --git a/docs/advanced/configuration.md b/docs/advanced/configuration.md new file mode 100644 index 00000000..fa1492dc --- /dev/null +++ b/docs/advanced/configuration.md @@ -0,0 +1 @@ +# 配置 diff --git a/docs/advanced/decorator.md b/docs/advanced/decorator.md new file mode 100644 index 00000000..24e37995 --- /dev/null +++ b/docs/advanced/decorator.md @@ -0,0 +1 @@ +# `on_*` 装饰器 diff --git a/docs/advanced/deployment.md b/docs/advanced/deployment.md new file mode 100644 index 00000000..20a15eec --- /dev/null +++ b/docs/advanced/deployment.md @@ -0,0 +1 @@ +# 部署 diff --git a/docs/advanced/larger-application.md b/docs/advanced/larger-application.md new file mode 100644 index 00000000..cf1a27cc --- /dev/null +++ b/docs/advanced/larger-application.md @@ -0,0 +1 @@ +# 大型应用的最佳实践 diff --git a/docs/advanced/logging.md b/docs/advanced/logging.md new file mode 100644 index 00000000..65c2dbdd --- /dev/null +++ b/docs/advanced/logging.md @@ -0,0 +1 @@ +# 日志 diff --git a/docs/advanced/message.md b/docs/advanced/message.md new file mode 100644 index 00000000..b3f2cfa0 --- /dev/null +++ b/docs/advanced/message.md @@ -0,0 +1 @@ +# 消息处理 diff --git a/docs/advanced/permission.md b/docs/advanced/permission.md new file mode 100644 index 00000000..7190bcdd --- /dev/null +++ b/docs/advanced/permission.md @@ -0,0 +1 @@ +# 权限控制 diff --git a/docs/advanced/session.md b/docs/advanced/session.md new file mode 100644 index 00000000..7f0e0c91 --- /dev/null +++ b/docs/advanced/session.md @@ -0,0 +1 @@ +# 会话 diff --git a/docs/guide/basic-configurations.md b/docs/guide/basic-configuration.md similarity index 100% rename from docs/guide/basic-configurations.md rename to docs/guide/basic-configuration.md