提交 b91cb934 编写于 作者: F feilong

add versioin

上级 5e304644
...@@ -112,7 +112,8 @@ ...@@ -112,7 +112,8 @@
"4. OpenCV(4.5.4) | 问题:OpenCV 开始支持Qt6了,但是支持还不完善" "4. OpenCV(4.5.4) | 问题:OpenCV 开始支持Qt6了,但是支持还不完善"
] ]
} }
] ],
"version": "4.5.4"
}, },
{ {
"released_at": "2021-10-11", "released_at": "2021-10-11",
...@@ -176,7 +177,8 @@ ...@@ -176,7 +177,8 @@
], ],
"article": "https://blog.csdn.net/m0_37993445/article/details/120895752" "article": "https://blog.csdn.net/m0_37993445/article/details/120895752"
} }
] ],
"version": "3.4.16"
}, },
{ {
"released_at": "2021-10-11", "released_at": "2021-10-11",
...@@ -272,7 +274,8 @@ ...@@ -272,7 +274,8 @@
], ],
"article": "https://blog.csdn.net/crazybingofpga/article/details/119416005" "article": "https://blog.csdn.net/crazybingofpga/article/details/119416005"
} }
] ],
"version": "4.5.3"
}, },
{ {
"released_at": "2021-10-11", "released_at": "2021-10-11",
...@@ -322,7 +325,8 @@ ...@@ -322,7 +325,8 @@
], ],
"article": "https://blog.csdn.net/qq_47538417/article/details/120640113" "article": "https://blog.csdn.net/qq_47538417/article/details/120640113"
} }
] ],
"version": "3.4.15"
} }
] ]
} }
\ No newline at end of file
...@@ -49,6 +49,8 @@ class DocWalker(): ...@@ -49,6 +49,8 @@ class DocWalker():
version_full_dir, version_full_dir,
version_config['features'] version_config['features']
) )
parts = version_full_dir.split("/")
version_config['version'] = parts[len(parts)-1]
version_config['features'] = simple_list_md_load(features_path) version_config['features'] = simple_list_md_load(features_path)
versions.append(version_config) versions.append(version_config)
root_config['versions'] = versions root_config['versions'] = versions
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册