diff --git a/tools/generate_html/base_version.json b/tools/generate_html/base_version.json
index 2854841209a15019c6f186ad63ae9b7993414f00..1d7ad59f44b413527d4808de15b2ade48e1ebab6 100644
--- a/tools/generate_html/base_version.json
+++ b/tools/generate_html/base_version.json
@@ -28,6 +28,10 @@
"label": "FAQ",
"url": "/docs/zh-CN/r2.7.0rc1/faq/installation.html",
"id": "r2.7.0rc1-faq"
+ },
+ {
+ "label": "RELEASE NOTES",
+ "url": "/docs/zh-CN/r2.7.0rc1/RELEASE.html"
}
],
"en": [
@@ -50,6 +54,10 @@
"label": "FAQ",
"url": "/docs/en/r2.7.0rc1/faq/installation.html",
"id": "r2.7.0rc1-faq"
+ },
+ {
+ "label": "RELEASE NOTES",
+ "url": "/docs/en/r2.7.0rc1/RELEASE.html"
}
]
},
diff --git a/tools/generate_html/run.py b/tools/generate_html/run.py
index 33fd433e2ef735d27fcd0bfba52a76767ac6f863..7e7e79d57858727b6da2826054430df6276c3989 100644
--- a/tools/generate_html/run.py
+++ b/tools/generate_html/run.py
@@ -627,7 +627,7 @@ if __name__ == "__main__":
release_url=args.release_url, generate_list=generate_list_p)
# 替换页面左侧目录部分
- ms_path = f"{MAINDIR}/{args.version}/output/docs/zh-CN/2.7.0rc1"
+ ms_path = f"{MAINDIR}/{args.version}/output/docs/zh-CN/r2.7.0rc1"
if os.path.exists(ms_path):
replace_html_menu(ms_path, os.path.join(DOCDIR, "../../docs/mindspore/source_zh_cn"))
print('docs中文目录大纲调整完成!')
@@ -640,7 +640,7 @@ if __name__ == "__main__":
pool.close()
pool.join()
print('docs所有页面search链接已修改!')
- ts_path = f"{MAINDIR}/{args.version}/output/tutorials/zh-CN/2.7.0rc1"
+ ts_path = f"{MAINDIR}/{args.version}/output/tutorials/zh-CN/r2.7.0rc1"
if os.path.exists(ts_path):
modify_menu_num(ts_path)
print('tutorials中文目录大纲调整完成!')