dgraph中文文档
访问地址
https://detectiveboys.github.io/dgraph-docs-zh-cn
访问不了的问题
现在github.io由于众所周知的原因访问不了,可以将自己的网络DNS设置为阿里的
223.5.5.5
223.6.6.6
翻译进度
Page | Progress | Dogs | Finish |
---|---|---|---|
首页 | :uk: :sunny: :sunny: :sunny: :sunny: :sunny: :cn: | Valdanito | 2018-11-29 |
快速开始 | :uk: :sunny: :sunny: :sunny: :sunny: :sunny: :cn: | Valdanito | 2018-11-29 |
查询语言 | :uk: :sunny: :sunny: :cloud: :cloud: :cloud: :cn: | JustinRong, zhenghaoyang | - |
GraphQL+- 小技巧 | :uk: :sunny: :sunny: :sunny: :sunny: :sunny: :cn: | Valdanito | 2020-11-29 |
Mutations | :uk: :sunny: :sunny: :sunny: :sunny: :sunny: :cn: | Valdanito | 2020-12-12 |
客户端 | :uk: :sunny: :sunny: :sunny: :sunny: :sunny: :cn: | Valdanito | 2018-12-01 |
集群部署 | :uk: :sunny: :sunny: :sunny: :sunny: :sunny: :cn: | Valdanito | 2018-12-09 |
常见问题 | :uk: :cloud: :cloud: :cloud: :cloud: :cloud: :cn: | - | - |
具体问题指引 | :uk: :cloud: :cloud: :cloud: :cloud: :cloud: :cn: | - | - |
设计理念 | :uk: :cloud: :cloud: :cloud: :cloud: :cloud: :cn: | - | - |
与同类产品比较 | :uk: :sunny: :sunny: :sunny: :sunny: :sunny: :cn: | Valdanito | 2018-12-01 |
翻译风格
不予翻译的名词或术语
dgraph、Zero、Alpha、Ratel、query、mutations、schema
语法高亮标记
graphql语句:```graphql
docker-compose语句:```yaml
golang语句:```go
json数据:```json
shell语句:```sh/bash
rdf数据:```turtle
将一些原有的标记替换掉
如{{% notice “note” %}}、{{% notice “tip” %}} 、{{% notice “warning” %}} 等,这些dgraph文档原有的标记markdown无法直接解释,替换成如下格式:
**注意** *note内容......*
**提示** *tip内容......*
**警告** *warning内容......*
翻译工具推荐
运行项目
clone项目源码
git clone git@github.com:detectiveboys/dgraph-docs-zh-cn.git
方式一:本机运行(需要node环境)
安装docsify-cli, 关于docsify
npm i docsify-cli -g
在项目根目录下执行:
docsify serve ./docs
访问项目主页http://localhost:3000
方式二:docker容器运行(需要docker环境)
在项目根目录下执行:
docker-compose up -d
访问项目主页http://localhost:3000