提交 24f3654e 编写于 作者: A Annie_wang

update docs

Signed-off-by: NAnnie_wang <annie.wangli@huawei.com>
上级 d2401eb2
...@@ -170,7 +170,7 @@ You can reference the content of a node to modify the content of another node. T ...@@ -170,7 +170,7 @@ You can reference the content of a node to modify the content of another node. T
node :& source_node node :& source_node
``` ```
In this statement, the content of **node** is referenced to modify the content of **source_node**. In this statement, the content of **node** is referenced to modify the content of **source_node**.
Example: Example:
...@@ -328,7 +328,7 @@ node2 { ...@@ -328,7 +328,7 @@ node2 {
} }
``` ```
Or or
``` ```
...@@ -345,7 +345,7 @@ node2 { ...@@ -345,7 +345,7 @@ node2 {
The template is used to generate nodes with consistent syntax, thereby facilitating the traverse and management of nodes of the same type. The template is used to generate nodes with consistent syntax, thereby facilitating the traverse and management of nodes of the same type.
If a node is defined using the keyword **template**, its child nodes inherit from the node configuration through the double colon operator (::). The child nodes can modify but cannot add or delete attributes in **template**. The attributes not defined in the child nodes will use the attributes defined in **template** as the default values. If a node is defined using the keyword **template**, its child nodes inherit from the node configuration through the double colon operator (::). The child nodes can modify or add but cannot delete attributes in **template**. The attributes not defined in the child nodes will use the attributes defined in **template** as the default values.
Example: Example:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册