This is an automated email from the ASF dual-hosted git repository. lidongdai pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler-website.git
commit 7ede5f4dede8df1abe8c479dedb5badff541499e Author: xiaochun.liu <[email protected]> AuthorDate: Wed Oct 23 22:59:05 2019 +0800 fix error link --- docs/zh-cn/user_doc/system-manual.md | 2 +- index.html | 19 ++++++++++++++++++- md_json/docs.json | 5 +++++ site_config/docs.js | 14 ++++++++++---- 4 files changed, 34 insertions(+), 6 deletions(-) diff --git a/docs/zh-cn/user_doc/system-manual.md b/docs/zh-cn/user_doc/system-manual.md index 348cc2b..7f03ac2 100755 --- a/docs/zh-cn/user_doc/system-manual.md +++ b/docs/zh-cn/user_doc/system-manual.md @@ -3,7 +3,7 @@ ## 快速上手 - > 请参照[快速上手](快速上手.md) + > 请参照[快速上手](quick-start.html) ## 操作指南 diff --git a/index.html b/index.html index d17f2f4..9599256 100644 --- a/index.html +++ b/index.html @@ -1 +1,18 @@ -hello dolphinscheduler! +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> +</head> +<body> + <script src="//cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script> + <script> + window.rootPath = ''; + window.defaultLanguage = 'en-us'; + var lang = Cookies.get('docsite_language'); + if (!lang) { + lang = 'en-us'; + } + window.location = window.rootPath + '/' + lang; + </script> +</body> +</html> \ No newline at end of file diff --git a/md_json/docs.json b/md_json/docs.json index cf2feb1..5dc7a82 100755 --- a/md_json/docs.json +++ b/md_json/docs.json @@ -158,6 +158,11 @@ "meta": {} }, { + "filename": "note.md", + "link": "/zh-cn/docs/release/note.html", + "meta": {} + }, + { "filename": "upgrade.md", "link": "/zh-cn/docs/release/upgrade.html", "meta": {} diff --git a/site_config/docs.js b/site_config/docs.js index bc3f90a..dd551dc 100755 --- a/site_config/docs.js +++ b/site_config/docs.js @@ -34,13 +34,14 @@ export default { link: '/en-us/docs/developer_guide/backend-development.html', }, { - title: 'Plugin Development', - link: '/en-us/docs/developer_guide/plugin-development.html', - }, - { title: 'Frontend Development', link: '/en-us/docs/developer_guide/frontend-development.html', }, + { + title: 'Api Document', + target: '_blank', + link: 'http://106.75.43.194:8888/easyscheduler/doc.html?language=en&lang=en' + }, ], }, { @@ -134,6 +135,11 @@ export default { title: '前端开发', link: '/zh-cn/docs/developer_guide/frontend-development.html', }, + { + title: '接口文档', + target: '_blank', + link: 'http://106.75.43.194:8888/easyscheduler/doc.html?language=zh_CN&lang=zh' + }, ], }, {
