提交 9954d1d3 编写于 作者: M Mars Liu

fixed prefix

上级 e79175dd
{ {
"keywords": [], "keywords": [],
"node_id": "tc-ca61bc935c5d40239707de30f68a4444", "node_id": "toolchains-898c51077b934818b94f56b459c14965",
"title": "GIT入门" "title": "GIT入门"
} }
\ No newline at end of file
{ {
"keywords": [], "keywords": [],
"node_id": "tc-e314213fdbfc445285991968b8b886eb", "node_id": "toolchains-87f33f689f5e4f05a65f344faa2022cb",
"title": "toolchains初阶" "title": "toolchains初阶"
} }
\ No newline at end of file
{ {
"keywords": [], "keywords": [],
"node_id": "tc-e86748361c424ab28f0ed3ea4a56f652", "node_id": "toolchains-979177e2db87470cb604783444e47175",
"title": "toolchains中阶" "title": "toolchains中阶"
} }
\ No newline at end of file
{ {
"keywords": [], "keywords": [],
"node_id": "tc-b2bc70f02a614ca7adac587f37f98acb", "node_id": "toolchains-86e5c506fc34422491c049db4c45e39e",
"title": "toolchains高阶" "title": "toolchains高阶"
} }
\ No newline at end of file
{ {
"tree_name": "toolchains", "tree_name": "toolchains",
"keywords": [], "keywords": [],
"node_id": "tc-6b7817c003af4f2fb8f53367b6ae0bb5", "node_id": "toolchains-adef561f31da4077ade16720641aea78",
"title": "Tool Chains" "title": "Tool Chains"
} }
\ No newline at end of file
{ {
"Toolchains": { "toolchains": {
"node_id": "tc-6b7817c003af4f2fb8f53367b6ae0bb5", "node_id": "toolchains-adef561f31da4077ade16720641aea78",
"keywords": [], "keywords": [],
"children": [ "children": [
{ {
"toolchains初阶": { "toolchains初阶": {
"node_id": "tc-e314213fdbfc445285991968b8b886eb", "node_id": "toolchains-87f33f689f5e4f05a65f344faa2022cb",
"keywords": [], "keywords": [],
"children": [ "children": [
{ {
"GIT入门": { "GIT入门": {
"node_id": "tc-ca61bc935c5d40239707de30f68a4444", "node_id": "toolchains-898c51077b934818b94f56b459c14965",
"keywords": [], "keywords": [],
"children": [] "children": []
} }
...@@ -20,14 +20,14 @@ ...@@ -20,14 +20,14 @@
}, },
{ {
"toolchains中阶": { "toolchains中阶": {
"node_id": "tc-e86748361c424ab28f0ed3ea4a56f652", "node_id": "toolchains-979177e2db87470cb604783444e47175",
"keywords": [], "keywords": [],
"children": [] "children": []
} }
}, },
{ {
"toolchains高阶": { "toolchains高阶": {
"node_id": "tc-b2bc70f02a614ca7adac587f37f98acb", "node_id": "toolchains-86e5c506fc34422491c049db4c45e39e",
"keywords": [], "keywords": [],
"children": [] "children": []
} }
......
...@@ -56,7 +56,7 @@ def gen_tree(data_path): ...@@ -56,7 +56,7 @@ def gen_tree(data_path):
def gen_node_id(): def gen_node_id():
# return ''.join(str(uuid.uuid5(uuid.NAMESPACE_URL, 'skill_tree')).split('-')) # return ''.join(str(uuid.uuid5(uuid.NAMESPACE_URL, 'skill_tree')).split('-'))
return "tc-" + uuid.uuid4().hex return "toolchains-" + uuid.uuid4().hex
def list_dir(p): def list_dir(p):
v = os.listdir(p) v = os.listdir(p)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册