diff --git a/tools/make_doc_file.py b/tools/make_doc_file.py index 155765e0..768c7f73 100644 --- a/tools/make_doc_file.py +++ b/tools/make_doc_file.py @@ -101,18 +101,18 @@ def make(path,modules,index_text): mdoc.write("# "+module["module"]+" - "+module["summary"]+"\n\n") #支持的芯片 - mdoc.write(get_tags(module["tag"])) - mdoc.write("\n\n") - - if len(module["url"]) > 0: - mdoc.write("```{note}\n本页文档由[这个文件]("+module["url"]+")自动生成。如有错误,请提交issue或帮忙修改后pr,谢谢!\n```\n\n") - - if len(module["demo"]) > 0: - mdoc.write("```{tip}\n本库有专属demo,[点此链接查看"+module["module"]+"的demo例子]("+module["demo"]+")\n```\n") - if len(module["video"]) > 0: - mdoc.write("```{tip}\n本库还有视频教程,[点此链接查看]("+module["video"]+")\n```\n\n") - else: - mdoc.write("\n") + # mdoc.write(get_tags(module["tag"])) + # mdoc.write("\n\n") + + # if len(module["url"]) > 0: + # mdoc.write("```{note}\n本页文档由[这个文件]("+module["url"]+")自动生成。如有错误,请提交issue或帮忙修改后pr,谢谢!\n```\n\n") + + # if len(module["demo"]) > 0: + # mdoc.write("```{tip}\n本库有专属demo,[点此链接查看"+module["module"]+"的demo例子]("+module["demo"]+")\n```\n") + # if len(module["video"]) > 0: + # mdoc.write("```{tip}\n本库还有视频教程,[点此链接查看]("+module["video"]+")\n```\n\n") + # else: + # mdoc.write("\n") if len(module["usage"]) > 0: mdoc.write("**示例**\n\n")