From 643f1d49062eade97d0589be0fee96ce558b7bfe Mon Sep 17 00:00:00 2001 From: sunli Date: Wed, 15 Apr 2020 11:15:30 +0800 Subject: [PATCH] Add docs --- .github/workflows/book.yml | 55 ++++++++++++++++++++ .github/workflows/ci.yml | 5 +- .gitignore | 2 +- docs/.gitignore | 1 + docs/en/book.toml | 6 +++ docs/en/src/SUMMARY.md | 31 +++++++++++ docs/en/src/advanced_topics | 1 + docs/en/src/apollo_federation | 1 + docs/en/src/apollo_tracing | 1 + docs/en/src/cache_control | 1 + docs/en/src/context | 1 + docs/en/src/cursor_connections | 1 + docs/en/src/custom_extensions | 1 + docs/en/src/custom_input_value_validators | 1 + docs/en/src/custom_scalars | 1 + docs/en/src/custom_subscription_transport | 1 + docs/en/src/define_complex_object | 1 + docs/en/src/define_enum | 1 + docs/en/src/define_input_object | 1 + docs/en/src/define_interface | 1 + docs/en/src/define_schema | 1 + docs/en/src/define_simple_object | 1 + docs/en/src/define_union | 1 + docs/en/src/error_extensions | 1 + docs/en/src/error_handling | 1 + docs/en/src/input_value_validators | 1 + docs/en/src/integrations | 1 + docs/en/src/integrations_to_actix_web | 1 + docs/en/src/integrations_to_warp | 1 + docs/en/src/introduction.md | 1 + docs/en/src/query_and_mutation | 1 + docs/en/src/quickstart.md | 1 + docs/en/src/subscription | 1 + docs/en/src/typesystem.md | 1 + docs/en/src/utilities | 1 + docs/zh-CN/book.toml | 6 +++ docs/zh-CN/src/SUMMARY.md | 30 +++++++++++ docs/zh-CN/src/advanced_topics | 1 + docs/zh-CN/src/apollo_federation | 1 + docs/zh-CN/src/apollo_tracing | 1 + docs/zh-CN/src/cache_control | 1 + docs/zh-CN/src/context | 1 + docs/zh-CN/src/cursor_connections | 1 + docs/zh-CN/src/custom_extensions | 1 + docs/zh-CN/src/custom_input_value_validators | 1 + docs/zh-CN/src/custom_scalars | 1 + docs/zh-CN/src/custom_subscription_transport | 1 + docs/zh-CN/src/define_complex_object | 1 + docs/zh-CN/src/define_enum | 1 + docs/zh-CN/src/define_input_object | 1 + docs/zh-CN/src/define_interface | 1 + docs/zh-CN/src/define_object | 1 + docs/zh-CN/src/define_schema | 1 + docs/zh-CN/src/define_simple_object | 1 + docs/zh-CN/src/define_union | 1 + docs/zh-CN/src/error_extensions | 1 + docs/zh-CN/src/error_handling | 1 + docs/zh-CN/src/input_value_validators | 1 + docs/zh-CN/src/integrations | 1 + docs/zh-CN/src/integrations_to_actix_web | 1 + docs/zh-CN/src/integrations_to_warp | 1 + docs/zh-CN/src/introduction.md | 1 + docs/zh-CN/src/query_and_mutation | 1 + docs/zh-CN/src/quickstart.md | 0 docs/zh-CN/src/subscription | 1 + docs/zh-CN/src/typesystem.md | 0 docs/zh-CN/src/utilities | 1 + 67 files changed, 191 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/book.yml create mode 100644 docs/.gitignore create mode 100644 docs/en/book.toml create mode 100644 docs/en/src/SUMMARY.md create mode 100644 docs/en/src/advanced_topics create mode 100644 docs/en/src/apollo_federation create mode 100644 docs/en/src/apollo_tracing create mode 100644 docs/en/src/cache_control create mode 100644 docs/en/src/context create mode 100644 docs/en/src/cursor_connections create mode 100644 docs/en/src/custom_extensions create mode 100644 docs/en/src/custom_input_value_validators create mode 100644 docs/en/src/custom_scalars create mode 100644 docs/en/src/custom_subscription_transport create mode 100644 docs/en/src/define_complex_object create mode 100644 docs/en/src/define_enum create mode 100644 docs/en/src/define_input_object create mode 100644 docs/en/src/define_interface create mode 100644 docs/en/src/define_schema create mode 100644 docs/en/src/define_simple_object create mode 100644 docs/en/src/define_union create mode 100644 docs/en/src/error_extensions create mode 100644 docs/en/src/error_handling create mode 100644 docs/en/src/input_value_validators create mode 100644 docs/en/src/integrations create mode 100644 docs/en/src/integrations_to_actix_web create mode 100644 docs/en/src/integrations_to_warp create mode 100644 docs/en/src/introduction.md create mode 100644 docs/en/src/query_and_mutation create mode 100644 docs/en/src/quickstart.md create mode 100644 docs/en/src/subscription create mode 100644 docs/en/src/typesystem.md create mode 100644 docs/en/src/utilities create mode 100644 docs/zh-CN/book.toml create mode 100644 docs/zh-CN/src/SUMMARY.md create mode 100644 docs/zh-CN/src/advanced_topics create mode 100644 docs/zh-CN/src/apollo_federation create mode 100644 docs/zh-CN/src/apollo_tracing create mode 100644 docs/zh-CN/src/cache_control create mode 100644 docs/zh-CN/src/context create mode 100644 docs/zh-CN/src/cursor_connections create mode 100644 docs/zh-CN/src/custom_extensions create mode 100644 docs/zh-CN/src/custom_input_value_validators create mode 100644 docs/zh-CN/src/custom_scalars create mode 100644 docs/zh-CN/src/custom_subscription_transport create mode 100644 docs/zh-CN/src/define_complex_object create mode 100644 docs/zh-CN/src/define_enum create mode 100644 docs/zh-CN/src/define_input_object create mode 100644 docs/zh-CN/src/define_interface create mode 100644 docs/zh-CN/src/define_object create mode 100644 docs/zh-CN/src/define_schema create mode 100644 docs/zh-CN/src/define_simple_object create mode 100644 docs/zh-CN/src/define_union create mode 100644 docs/zh-CN/src/error_extensions create mode 100644 docs/zh-CN/src/error_handling create mode 100644 docs/zh-CN/src/input_value_validators create mode 100644 docs/zh-CN/src/integrations create mode 100644 docs/zh-CN/src/integrations_to_actix_web create mode 100644 docs/zh-CN/src/integrations_to_warp create mode 100644 docs/zh-CN/src/introduction.md create mode 100644 docs/zh-CN/src/query_and_mutation create mode 100644 docs/zh-CN/src/quickstart.md create mode 100644 docs/zh-CN/src/subscription create mode 100644 docs/zh-CN/src/typesystem.md create mode 100644 docs/zh-CN/src/utilities diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml new file mode 100644 index 00000000..97828a79 --- /dev/null +++ b/.github/workflows/book.yml @@ -0,0 +1,55 @@ +name: Book + +on: + pull_request: + branches: + - master + paths: + - 'docs/**' + push: + branches: + - master + paths: + - 'docs/**' + +jobs: + deploy_en: + name: Deploy book on gh-pages + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Install mdBook + uses: peaceiris/actions-mdbook@v1 + - name: Render book + run: | + mdbook build -d gh-pages docs/en + - name: Deploy + uses: peaceiris/actions-gh-pages@v2.5.1 + with: + emptyCommits: false + keepFiles: true + env: + ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} + PUBLISH_BRANCH: gh-pages-en + PUBLISH_DIR: docs/book/gh-pages + deploy_zh_CN: + name: Deploy book on gh-pages + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Install mdBook + uses: peaceiris/actions-mdbook@v1 + - name: Render book + run: | + mdbook build -d gh-pages-zh-CN docs/zh-CN + - name: Deploy + uses: peaceiris/actions-gh-pages@v2.5.1 + with: + emptyCommits: false + keepFiles: true + env: + ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} + PUBLISH_BRANCH: gh-pages-zh-CN + PUBLISH_DIR: docs/book/gh-pages \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3db8b39..fbfc0916 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,9 @@ on: push: branches: - master - pull_request: {} + pull_request: + branches: + - master jobs: build: @@ -20,6 +22,7 @@ jobs: - name: Run tests run: cargo test --all --verbose cover: + needs: [build] runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 diff --git a/.gitignore b/.gitignore index 2dd69141..be74354d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ Cargo.lock .idea .DS_Store -node_modules \ No newline at end of file +node_modules diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 00000000..7585238e --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1 @@ +book diff --git a/docs/en/book.toml b/docs/en/book.toml new file mode 100644 index 00000000..b137538f --- /dev/null +++ b/docs/en/book.toml @@ -0,0 +1,6 @@ +[book] +authors = ["sunli"] +description = "Async-graphql Book" +src = "src" +language = "zh-CN" +title = "Async-graphql Book" diff --git a/docs/en/src/SUMMARY.md b/docs/en/src/SUMMARY.md new file mode 100644 index 00000000..3e2410fb --- /dev/null +++ b/docs/en/src/SUMMARY.md @@ -0,0 +1,31 @@ +# Async-graphql Book + +- [Introduction](introduction.md) +- [Quickstart](quickstart.md) +- [Type System](typesystem.md) + - [SimpleObject](define_simple_object) + - [Object](define_complex_object) + - [Context](context) + - [Error handling](error_handling) + - [Enum](define_enum) + - [Interface](define_interface) + - [Union](define_union) + - [InputObject](define_input_object) +- [Schema](define_schema) + - [Query and Mutation](query_and_mutation) + - [Subscription](subscription) +- [Utilities](utilities) + - [Input value validators](input_value_validators) + - [Cache control](cache_control) + - [Cursor connections](cursor_connections) + - [Error extensions](error_extensions) + - [Apollo Tracing](apollo_tracing) +- [Integrations](integrations) + - [Warp](integrations_to_warp) + - [Actix-web](integrations_to_actix_web) +- [Advanced topics](advanced_topics) + - [Custom scalars](custom_scalars) + - [Custom input value validators](custom_input_value_validators) + - [Custom extensions](custom_extensions) + - [Custom subscription transport](custom_subscription_transport) + - [Apollo Federation](apollo_federation) diff --git a/docs/en/src/advanced_topics b/docs/en/src/advanced_topics new file mode 100644 index 00000000..5d0c1167 --- /dev/null +++ b/docs/en/src/advanced_topics @@ -0,0 +1 @@ +# Advanced topics diff --git a/docs/en/src/apollo_federation b/docs/en/src/apollo_federation new file mode 100644 index 00000000..414729ff --- /dev/null +++ b/docs/en/src/apollo_federation @@ -0,0 +1 @@ +# Apollo Federation diff --git a/docs/en/src/apollo_tracing b/docs/en/src/apollo_tracing new file mode 100644 index 00000000..b552068f --- /dev/null +++ b/docs/en/src/apollo_tracing @@ -0,0 +1 @@ +# Apollo Tracing diff --git a/docs/en/src/cache_control b/docs/en/src/cache_control new file mode 100644 index 00000000..217fedf8 --- /dev/null +++ b/docs/en/src/cache_control @@ -0,0 +1 @@ +# Cache control diff --git a/docs/en/src/context b/docs/en/src/context new file mode 100644 index 00000000..c4030388 --- /dev/null +++ b/docs/en/src/context @@ -0,0 +1 @@ +# Context diff --git a/docs/en/src/cursor_connections b/docs/en/src/cursor_connections new file mode 100644 index 00000000..0b56908f --- /dev/null +++ b/docs/en/src/cursor_connections @@ -0,0 +1 @@ +# Cursor diff --git a/docs/en/src/custom_extensions b/docs/en/src/custom_extensions new file mode 100644 index 00000000..2e68a925 --- /dev/null +++ b/docs/en/src/custom_extensions @@ -0,0 +1 @@ +# Custom extensions diff --git a/docs/en/src/custom_input_value_validators b/docs/en/src/custom_input_value_validators new file mode 100644 index 00000000..0e778a30 --- /dev/null +++ b/docs/en/src/custom_input_value_validators @@ -0,0 +1 @@ +# Custom input value validators diff --git a/docs/en/src/custom_scalars b/docs/en/src/custom_scalars new file mode 100644 index 00000000..7a3d76ea --- /dev/null +++ b/docs/en/src/custom_scalars @@ -0,0 +1 @@ +# Custom scalars diff --git a/docs/en/src/custom_subscription_transport b/docs/en/src/custom_subscription_transport new file mode 100644 index 00000000..2f0bfbbb --- /dev/null +++ b/docs/en/src/custom_subscription_transport @@ -0,0 +1 @@ +# Custom subscription transport diff --git a/docs/en/src/define_complex_object b/docs/en/src/define_complex_object new file mode 100644 index 00000000..c0ddad0d --- /dev/null +++ b/docs/en/src/define_complex_object @@ -0,0 +1 @@ +# Object diff --git a/docs/en/src/define_enum b/docs/en/src/define_enum new file mode 100644 index 00000000..be77ea9c --- /dev/null +++ b/docs/en/src/define_enum @@ -0,0 +1 @@ +# Enum diff --git a/docs/en/src/define_input_object b/docs/en/src/define_input_object new file mode 100644 index 00000000..7511b9dc --- /dev/null +++ b/docs/en/src/define_input_object @@ -0,0 +1 @@ +# InputObject diff --git a/docs/en/src/define_interface b/docs/en/src/define_interface new file mode 100644 index 00000000..fa54d335 --- /dev/null +++ b/docs/en/src/define_interface @@ -0,0 +1 @@ +# Interface diff --git a/docs/en/src/define_schema b/docs/en/src/define_schema new file mode 100644 index 00000000..07d8c082 --- /dev/null +++ b/docs/en/src/define_schema @@ -0,0 +1 @@ +# Schema diff --git a/docs/en/src/define_simple_object b/docs/en/src/define_simple_object new file mode 100644 index 00000000..f35daa2b --- /dev/null +++ b/docs/en/src/define_simple_object @@ -0,0 +1 @@ +# SimpleObject diff --git a/docs/en/src/define_union b/docs/en/src/define_union new file mode 100644 index 00000000..e530b453 --- /dev/null +++ b/docs/en/src/define_union @@ -0,0 +1 @@ +# Union diff --git a/docs/en/src/error_extensions b/docs/en/src/error_extensions new file mode 100644 index 00000000..f1051a32 --- /dev/null +++ b/docs/en/src/error_extensions @@ -0,0 +1 @@ +# Error extensions diff --git a/docs/en/src/error_handling b/docs/en/src/error_handling new file mode 100644 index 00000000..face61c6 --- /dev/null +++ b/docs/en/src/error_handling @@ -0,0 +1 @@ +# Error handling diff --git a/docs/en/src/input_value_validators b/docs/en/src/input_value_validators new file mode 100644 index 00000000..a122067e --- /dev/null +++ b/docs/en/src/input_value_validators @@ -0,0 +1 @@ +# Input value validators diff --git a/docs/en/src/integrations b/docs/en/src/integrations new file mode 100644 index 00000000..e20ec321 --- /dev/null +++ b/docs/en/src/integrations @@ -0,0 +1 @@ +# Integrations diff --git a/docs/en/src/integrations_to_actix_web b/docs/en/src/integrations_to_actix_web new file mode 100644 index 00000000..efacadad --- /dev/null +++ b/docs/en/src/integrations_to_actix_web @@ -0,0 +1 @@ +# Actix-web diff --git a/docs/en/src/integrations_to_warp b/docs/en/src/integrations_to_warp new file mode 100644 index 00000000..0f90660e --- /dev/null +++ b/docs/en/src/integrations_to_warp @@ -0,0 +1 @@ +# Warp diff --git a/docs/en/src/introduction.md b/docs/en/src/introduction.md new file mode 100644 index 00000000..e10b99d0 --- /dev/null +++ b/docs/en/src/introduction.md @@ -0,0 +1 @@ +# Introduction diff --git a/docs/en/src/query_and_mutation b/docs/en/src/query_and_mutation new file mode 100644 index 00000000..60aa8069 --- /dev/null +++ b/docs/en/src/query_and_mutation @@ -0,0 +1 @@ +# Query and Mutation diff --git a/docs/en/src/quickstart.md b/docs/en/src/quickstart.md new file mode 100644 index 00000000..acb98436 --- /dev/null +++ b/docs/en/src/quickstart.md @@ -0,0 +1 @@ +# Quickstart diff --git a/docs/en/src/subscription b/docs/en/src/subscription new file mode 100644 index 00000000..13dc747f --- /dev/null +++ b/docs/en/src/subscription @@ -0,0 +1 @@ +# Subscription diff --git a/docs/en/src/typesystem.md b/docs/en/src/typesystem.md new file mode 100644 index 00000000..6b07ea95 --- /dev/null +++ b/docs/en/src/typesystem.md @@ -0,0 +1 @@ +# Type System diff --git a/docs/en/src/utilities b/docs/en/src/utilities new file mode 100644 index 00000000..909e9dbd --- /dev/null +++ b/docs/en/src/utilities @@ -0,0 +1 @@ +# Utilities diff --git a/docs/zh-CN/book.toml b/docs/zh-CN/book.toml new file mode 100644 index 00000000..cef9ac95 --- /dev/null +++ b/docs/zh-CN/book.toml @@ -0,0 +1,6 @@ +[book] +authors = ["sunli"] +description = "Async-graphql使用手册" +src = "src" +language = "zh-CN" +title = "Async-graphql教程" diff --git a/docs/zh-CN/src/SUMMARY.md b/docs/zh-CN/src/SUMMARY.md new file mode 100644 index 00000000..5b7cdb31 --- /dev/null +++ b/docs/zh-CN/src/SUMMARY.md @@ -0,0 +1,30 @@ +# Async-graphql教程 + +- [介绍](introduction.md) +- [快速开始](quickstart.md) +- [类型系统](typesystem.md) + - [简单对象(SimpleObject)](define_simple_object) + - [对象(Object)](define_complex_object) + - [查询上下文(Context)](context) + - [错误处理](error_handling) + - [枚举(Enum)](define_enum) + - [接口(Interface)](define_interface) + - [联合(Union)](define_union) + - [输入对象(InputObject)](define_input_object) +- [定义模式(Schema)](define_schema) + - [查询和变更](query_and_mutation) + - [订阅](subscription) +- [实用功能](utilities) + - [输入值校验器](input_value_validators) + - [查询缓存控制](cache_control) + - [游标连接(Cursor Connections)](cursor_connections) + - [Apollo Tracing支持](apollo_tracing) +- [集成到WebServer](integrations) + - [Warp](integrations_to_warp) + - [Actix-web](integrations_to_actix_web) +- [高级主题](advanced_topics) + - [自定义标量](custom_scalars) + - [自定义输入值校验器](custom_input_value_validators) + - [自定义扩展](custom_extensions) + - [自定义订阅传输协议](custom_subscription_transport) + - [Apollo Federation集成](apollo_federation) diff --git a/docs/zh-CN/src/advanced_topics b/docs/zh-CN/src/advanced_topics new file mode 100644 index 00000000..f10eac46 --- /dev/null +++ b/docs/zh-CN/src/advanced_topics @@ -0,0 +1 @@ +# 高级主题 diff --git a/docs/zh-CN/src/apollo_federation b/docs/zh-CN/src/apollo_federation new file mode 100644 index 00000000..06b441bb --- /dev/null +++ b/docs/zh-CN/src/apollo_federation @@ -0,0 +1 @@ +# Apollo Federation集成 diff --git a/docs/zh-CN/src/apollo_tracing b/docs/zh-CN/src/apollo_tracing new file mode 100644 index 00000000..2b63f4a4 --- /dev/null +++ b/docs/zh-CN/src/apollo_tracing @@ -0,0 +1 @@ +# Apollo Tracing支持 diff --git a/docs/zh-CN/src/cache_control b/docs/zh-CN/src/cache_control new file mode 100644 index 00000000..35e6f3b6 --- /dev/null +++ b/docs/zh-CN/src/cache_control @@ -0,0 +1 @@ +# 查询缓存控制 diff --git a/docs/zh-CN/src/context b/docs/zh-CN/src/context new file mode 100644 index 00000000..fa1ae017 --- /dev/null +++ b/docs/zh-CN/src/context @@ -0,0 +1 @@ +# 查询上下文(Context) diff --git a/docs/zh-CN/src/cursor_connections b/docs/zh-CN/src/cursor_connections new file mode 100644 index 00000000..5b23ab75 --- /dev/null +++ b/docs/zh-CN/src/cursor_connections @@ -0,0 +1 @@ +# 游标连接(Cursor Connections) diff --git a/docs/zh-CN/src/custom_extensions b/docs/zh-CN/src/custom_extensions new file mode 100644 index 00000000..d6060a76 --- /dev/null +++ b/docs/zh-CN/src/custom_extensions @@ -0,0 +1 @@ +# 自定义扩展 diff --git a/docs/zh-CN/src/custom_input_value_validators b/docs/zh-CN/src/custom_input_value_validators new file mode 100644 index 00000000..277f5065 --- /dev/null +++ b/docs/zh-CN/src/custom_input_value_validators @@ -0,0 +1 @@ +# 自定义输入值校验器 diff --git a/docs/zh-CN/src/custom_scalars b/docs/zh-CN/src/custom_scalars new file mode 100644 index 00000000..2e94092a --- /dev/null +++ b/docs/zh-CN/src/custom_scalars @@ -0,0 +1 @@ +# 自定义标量 diff --git a/docs/zh-CN/src/custom_subscription_transport b/docs/zh-CN/src/custom_subscription_transport new file mode 100644 index 00000000..fe11abd5 --- /dev/null +++ b/docs/zh-CN/src/custom_subscription_transport @@ -0,0 +1 @@ +# 自定义订阅传输协议 diff --git a/docs/zh-CN/src/define_complex_object b/docs/zh-CN/src/define_complex_object new file mode 100644 index 00000000..3e4f07a0 --- /dev/null +++ b/docs/zh-CN/src/define_complex_object @@ -0,0 +1 @@ +# 对象 diff --git a/docs/zh-CN/src/define_enum b/docs/zh-CN/src/define_enum new file mode 100644 index 00000000..9fe9f988 --- /dev/null +++ b/docs/zh-CN/src/define_enum @@ -0,0 +1 @@ +# 枚举(Enum) diff --git a/docs/zh-CN/src/define_input_object b/docs/zh-CN/src/define_input_object new file mode 100644 index 00000000..20c7eb2c --- /dev/null +++ b/docs/zh-CN/src/define_input_object @@ -0,0 +1 @@ +# 输入对象(InputObject) diff --git a/docs/zh-CN/src/define_interface b/docs/zh-CN/src/define_interface new file mode 100644 index 00000000..c319ca18 --- /dev/null +++ b/docs/zh-CN/src/define_interface @@ -0,0 +1 @@ +# 接口(Interface) diff --git a/docs/zh-CN/src/define_object b/docs/zh-CN/src/define_object new file mode 100644 index 00000000..3e4f07a0 --- /dev/null +++ b/docs/zh-CN/src/define_object @@ -0,0 +1 @@ +# 对象 diff --git a/docs/zh-CN/src/define_schema b/docs/zh-CN/src/define_schema new file mode 100644 index 00000000..760da3a5 --- /dev/null +++ b/docs/zh-CN/src/define_schema @@ -0,0 +1 @@ +# 定义模式(Schema) diff --git a/docs/zh-CN/src/define_simple_object b/docs/zh-CN/src/define_simple_object new file mode 100644 index 00000000..3d4cd384 --- /dev/null +++ b/docs/zh-CN/src/define_simple_object @@ -0,0 +1 @@ +# 简单对象 diff --git a/docs/zh-CN/src/define_union b/docs/zh-CN/src/define_union new file mode 100644 index 00000000..b8e3703e --- /dev/null +++ b/docs/zh-CN/src/define_union @@ -0,0 +1 @@ +# 联合(Union) diff --git a/docs/zh-CN/src/error_extensions b/docs/zh-CN/src/error_extensions new file mode 100644 index 00000000..8edb259f --- /dev/null +++ b/docs/zh-CN/src/error_extensions @@ -0,0 +1 @@ +# 错误扩展 diff --git a/docs/zh-CN/src/error_handling b/docs/zh-CN/src/error_handling new file mode 100644 index 00000000..a27f18e2 --- /dev/null +++ b/docs/zh-CN/src/error_handling @@ -0,0 +1 @@ +# 错误处理 diff --git a/docs/zh-CN/src/input_value_validators b/docs/zh-CN/src/input_value_validators new file mode 100644 index 00000000..984b814b --- /dev/null +++ b/docs/zh-CN/src/input_value_validators @@ -0,0 +1 @@ +# 输入值校验器 diff --git a/docs/zh-CN/src/integrations b/docs/zh-CN/src/integrations new file mode 100644 index 00000000..48dc3918 --- /dev/null +++ b/docs/zh-CN/src/integrations @@ -0,0 +1 @@ +# 集成到WebServer diff --git a/docs/zh-CN/src/integrations_to_actix_web b/docs/zh-CN/src/integrations_to_actix_web new file mode 100644 index 00000000..efacadad --- /dev/null +++ b/docs/zh-CN/src/integrations_to_actix_web @@ -0,0 +1 @@ +# Actix-web diff --git a/docs/zh-CN/src/integrations_to_warp b/docs/zh-CN/src/integrations_to_warp new file mode 100644 index 00000000..0f90660e --- /dev/null +++ b/docs/zh-CN/src/integrations_to_warp @@ -0,0 +1 @@ +# Warp diff --git a/docs/zh-CN/src/introduction.md b/docs/zh-CN/src/introduction.md new file mode 100644 index 00000000..bfd470dd --- /dev/null +++ b/docs/zh-CN/src/introduction.md @@ -0,0 +1 @@ +# 介绍 diff --git a/docs/zh-CN/src/query_and_mutation b/docs/zh-CN/src/query_and_mutation new file mode 100644 index 00000000..ca741ca2 --- /dev/null +++ b/docs/zh-CN/src/query_and_mutation @@ -0,0 +1 @@ +# 查询和变更 diff --git a/docs/zh-CN/src/quickstart.md b/docs/zh-CN/src/quickstart.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/zh-CN/src/subscription b/docs/zh-CN/src/subscription new file mode 100644 index 00000000..d33eff76 --- /dev/null +++ b/docs/zh-CN/src/subscription @@ -0,0 +1 @@ +# 订阅 diff --git a/docs/zh-CN/src/typesystem.md b/docs/zh-CN/src/typesystem.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/zh-CN/src/utilities b/docs/zh-CN/src/utilities new file mode 100644 index 00000000..fe853580 --- /dev/null +++ b/docs/zh-CN/src/utilities @@ -0,0 +1 @@ +# 实用功能