From 54652eede0036eb02661be4726cff6fba5b06883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=99=93=E9=9D=92?= <86282370+izhuxiaoqing@users.noreply.github.com> Date: Thu, 18 Nov 2021 10:57:52 +0800 Subject: [PATCH] fix details --- docs-2.0/2.quick-start/6.cheatsheet-for-ngql.md | 2 +- ....show-create-tags-edges.md => 5.show-create-tag-edge.md} | 0 docs-2.0/3.ngql-guide/9.space-statements/1.create-space.md | 6 +++--- docs-2.0/3.ngql-guide/9.space-statements/2.use-space.md | 3 --- mkdocs.yml | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) rename docs-2.0/3.ngql-guide/7.general-query-statements/6.show/{5.show-create-tags-edges.md => 5.show-create-tag-edge.md} (100%) diff --git a/docs-2.0/2.quick-start/6.cheatsheet-for-ngql.md b/docs-2.0/2.quick-start/6.cheatsheet-for-ngql.md index 4319e8212f8..5d965552617 100644 --- a/docs-2.0/2.quick-start/6.cheatsheet-for-ngql.md +++ b/docs-2.0/2.quick-start/6.cheatsheet-for-ngql.md @@ -335,7 +335,7 @@ | [SHOW CHARSET](../3.ngql-guide/7.general-query-statements/6.show/1.show-charset.md) | `SHOW CHARSET` | `SHOW CHARSET` | Shows the available character sets. | | [SHOW COLLATION](../3.ngql-guide/7.general-query-statements/6.show/2.show-collation.md) | `SHOW COLLATION` | `SHOW COLLATION` | Shows the collations supported by Nebula Graph. | | [SHOW CREATE SPACE](../3.ngql-guide/7.general-query-statements/6.show/4.show-create-space.md) | `SHOW CREATE SPACE ` | `SHOW CREATE SPACE basketballplayer` | Shows the creating statement of the specified graph space. | - | [SHOW CREATE TAG/EDGE](../3.ngql-guide/7.general-query-statements/6.show/5.show-create-tags-edges.md) | `SHOW CREATE {TAG | EDGE }` | `SHOW CREATE TAG player` | Shows the basic information of the specified tag. | + | [SHOW CREATE TAG/EDGE](../3.ngql-guide/7.general-query-statements/6.show/5.show-create-tag-edge.md) | `SHOW CREATE {TAG | EDGE }` | `SHOW CREATE TAG player` | Shows the basic information of the specified tag. | | [SHOW HOSTS](../3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md) | `SHOW HOSTS [GRAPH | STORAGE | META]` | `SHOW HOSTS`
`SHOW HOSTS GRAPH` | Shows the host and version information of Graph Service, Storage Service, and Meta Service. | | [SHOW INDEX STATUS](../3.ngql-guide/7.general-query-statements/6.show/7.show-index-status.md) | `SHOW {TAG | EDGE} INDEX STATUS` | `SHOW TAG INDEX STATUS` | Shows the status of jobs that rebuild native indexes, which helps check whether a native index is successfully rebuilt or not. | | [SHOW INDEXES](../3.ngql-guide/7.general-query-statements/6.show/8.show-indexes.md) | `SHOW {TAG | EDGE} INDEXES` | `SHOW TAG INDEXES` | Shows the names of existing native indexes. | diff --git a/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/5.show-create-tags-edges.md b/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/5.show-create-tag-edge.md similarity index 100% rename from docs-2.0/3.ngql-guide/7.general-query-statements/6.show/5.show-create-tags-edges.md rename to docs-2.0/3.ngql-guide/7.general-query-statements/6.show/5.show-create-tag-edge.md diff --git a/docs-2.0/3.ngql-guide/9.space-statements/1.create-space.md b/docs-2.0/3.ngql-guide/9.space-statements/1.create-space.md index 7768609aa2b..f7de564f3a8 100644 --- a/docs-2.0/3.ngql-guide/9.space-statements/1.create-space.md +++ b/docs-2.0/3.ngql-guide/9.space-statements/1.create-space.md @@ -56,10 +56,10 @@ CREATE SPACE [IF NOT EXISTS] ( CREATE SPACE AS ; ``` -| Parameter | Description | -| :--- | :--- | +| Parameter | Description | +| :--- | :--- | | `` | The name of the graph space that is newly created. The name of the graph space is case-sensitive and allows letters, numbers, or underlines. [Keywords and reserved words](../../3.ngql-guide/1.nGQL-overview/keywords-and-reserved-words.md) are not allowed. When a new graph space is created, the schema of the old graph space `` will be cloned, including its parameters (the number of partitions and replicas, etc.), Tag, Edge type, and native indexes. | -| `` | The name of the graph space that already exists. | +| `` | The name of the graph space that already exists. | ## Examples diff --git a/docs-2.0/3.ngql-guide/9.space-statements/2.use-space.md b/docs-2.0/3.ngql-guide/9.space-statements/2.use-space.md index 2d17e5972ee..43b0f99526c 100644 --- a/docs-2.0/3.ngql-guide/9.space-statements/2.use-space.md +++ b/docs-2.0/3.ngql-guide/9.space-statements/2.use-space.md @@ -22,9 +22,6 @@ nebula> CREATE SPACE IF NOT EXISTS space2 (vid_type=FIXED_STRING(30)); # The following example specifies space1 as the current working graph space. nebula> USE space1; -# The following example traverses in space1. -nebula> GO FROM 1 OVER edge1; - # The following example specifies space2 as the current working graph space. Hereafter, you cannot read any data from space1, because these vertices and edges being traversed have no relevance with space1. nebula> USE space2; ``` diff --git a/mkdocs.yml b/mkdocs.yml index 1f4b78524c4..8c3c07eef1b 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -200,7 +200,7 @@ nav: - SHOW COLLATION: 3.ngql-guide/7.general-query-statements/6.show/2.show-collation.md # - SHOW CONFIGS: 3.ngql-guide/7.general-query-statements/6.show/3.show-configs.md - SHOW CREATE SPACE: 3.ngql-guide/7.general-query-statements/6.show/4.show-create-space.md - - SHOW CREATE TAGS/EDGES: 3.ngql-guide/7.general-query-statements/6.show/5.show-create-tags-edges.md + - SHOW CREATE TAG/EDGE: 3.ngql-guide/7.general-query-statements/6.show/5.show-create-tag-edge.md - SHOW HOSTS: 3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md - SHOW INDEX STATUS: 3.ngql-guide/7.general-query-statements/6.show/7.show-index-status.md - SHOW INDEXES: 3.ngql-guide/7.general-query-statements/6.show/8.show-indexes.md