diff --git "a/data/1.toolchains\345\210\235\351\230\266/1.GIT\345\205\245\351\227\250/config.json" "b/data/1.toolchains\345\210\235\351\230\266/1.GIT\345\205\245\351\227\250/config.json" index 792ef9c79401097e928476037bdafbb196cecceb..583e99b85d3aab1bf078ca7d74cf0629c1faba54 100644 --- "a/data/1.toolchains\345\210\235\351\230\266/1.GIT\345\205\245\351\227\250/config.json" +++ "b/data/1.toolchains\345\210\235\351\230\266/1.GIT\345\205\245\351\227\250/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "tc-ca61bc935c5d40239707de30f68a4444", + "node_id": "toolchains-898c51077b934818b94f56b459c14965", "title": "GIT入门" } \ No newline at end of file diff --git "a/data/1.toolchains\345\210\235\351\230\266/config.json" "b/data/1.toolchains\345\210\235\351\230\266/config.json" index d1b3f42dd5662659b40b5af4a4b9c7d82d5ca4db..f1b73dfb051213e5d19f39d05ba60f866fa1cb72 100644 --- "a/data/1.toolchains\345\210\235\351\230\266/config.json" +++ "b/data/1.toolchains\345\210\235\351\230\266/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "tc-e314213fdbfc445285991968b8b886eb", + "node_id": "toolchains-87f33f689f5e4f05a65f344faa2022cb", "title": "toolchains初阶" } \ No newline at end of file diff --git "a/data/2.toolchains\344\270\255\351\230\266/config.json" "b/data/2.toolchains\344\270\255\351\230\266/config.json" index c7ad3c733c0bb9b257283c57b8dc13f49c97a486..1d9556866378ad0d555ae9bb00539f09ab17d4e8 100644 --- "a/data/2.toolchains\344\270\255\351\230\266/config.json" +++ "b/data/2.toolchains\344\270\255\351\230\266/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "tc-e86748361c424ab28f0ed3ea4a56f652", + "node_id": "toolchains-979177e2db87470cb604783444e47175", "title": "toolchains中阶" } \ No newline at end of file diff --git "a/data/3.toolchains\351\253\230\351\230\266/config.json" "b/data/3.toolchains\351\253\230\351\230\266/config.json" index b02b48709e5e4b944c21c9505e8180d10547144b..39df38838713d49bdcfc20016237b75a09051754 100644 --- "a/data/3.toolchains\351\253\230\351\230\266/config.json" +++ "b/data/3.toolchains\351\253\230\351\230\266/config.json" @@ -1,5 +1,5 @@ { "keywords": [], - "node_id": "tc-b2bc70f02a614ca7adac587f37f98acb", + "node_id": "toolchains-86e5c506fc34422491c049db4c45e39e", "title": "toolchains高阶" } \ No newline at end of file diff --git a/data/config.json b/data/config.json index 8a01d9a3fbe6e0e3100698ec63eb3d05e18603e8..4c0eb05914dcd7585cb110207381a49163919381 100644 --- a/data/config.json +++ b/data/config.json @@ -1,6 +1,6 @@ { "tree_name": "toolchains", "keywords": [], - "node_id": "tc-6b7817c003af4f2fb8f53367b6ae0bb5", + "node_id": "toolchains-adef561f31da4077ade16720641aea78", "title": "Tool Chains" } \ No newline at end of file diff --git a/data/tree.json b/data/tree.json index fc8cb2743618ccb9f6152ba6a53a934fc4eea1f8..a1a79a81e0f29e10a45324fb6416e120c3802154 100644 --- a/data/tree.json +++ b/data/tree.json @@ -1,16 +1,16 @@ { - "Toolchains": { - "node_id": "tc-6b7817c003af4f2fb8f53367b6ae0bb5", + "toolchains": { + "node_id": "toolchains-adef561f31da4077ade16720641aea78", "keywords": [], "children": [ { "toolchains初阶": { - "node_id": "tc-e314213fdbfc445285991968b8b886eb", + "node_id": "toolchains-87f33f689f5e4f05a65f344faa2022cb", "keywords": [], "children": [ { "GIT入门": { - "node_id": "tc-ca61bc935c5d40239707de30f68a4444", + "node_id": "toolchains-898c51077b934818b94f56b459c14965", "keywords": [], "children": [] } @@ -20,14 +20,14 @@ }, { "toolchains中阶": { - "node_id": "tc-e86748361c424ab28f0ed3ea4a56f652", + "node_id": "toolchains-979177e2db87470cb604783444e47175", "keywords": [], "children": [] } }, { "toolchains高阶": { - "node_id": "tc-b2bc70f02a614ca7adac587f37f98acb", + "node_id": "toolchains-86e5c506fc34422491c049db4c45e39e", "keywords": [], "children": [] } diff --git a/src/tree.py b/src/tree.py index 07fb6574f09ecf571191948d91a9bdefb3da234d..1dff2c0641af785a5031ad7491c81d86a3852def 100644 --- a/src/tree.py +++ b/src/tree.py @@ -56,7 +56,7 @@ def gen_tree(data_path): def gen_node_id(): # 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): v = os.listdir(p)