From 1f5dbf0e79cde50bf2b2b9699e9134e21ecad1f5 Mon Sep 17 00:00:00 2001 From: Joey777210 <53630996+Joey777210@users.noreply.github.com> Date: Mon, 10 Jul 2023 15:31:30 +0800 Subject: [PATCH] nacos ui doc update to v2 (#10730) * nacos ui doc update to v2 * nacos ui doc update to v2 * fix conflict --- README.md | 2 +- console-ui/src/config.js | 16 ++++++++-------- console-ui/src/layouts/Header.js | 2 +- console/src/main/resources/static/index.html | 4 ++-- console/src/main/resources/static/js/main.js | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 6c726408f..ade48fa81 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ For more details, see [quick-start.](https://nacos.io/en-us/docs/quick-start.htm ## Documentation -You can view the full documentation from the [Nacos website](https://nacos.io/en-us/docs/what-is-nacos.html). +You can view the full documentation from the [Nacos website](https://nacos.io/en-us/docs/v2/what-is-nacos.html). You can also read this online eBook from the [NACOS ARCHITECTURE & PRINCIPLES](https://www.yuque.com/nacos/ebook/kbyo6n). diff --git a/console-ui/src/config.js b/console-ui/src/config.js index 21482ccb6..ded70a1bb 100644 --- a/console-ui/src/config.js +++ b/console-ui/src/config.js @@ -32,7 +32,7 @@ module.exports = { { key: 'docs', text: 'DOCS', - link: 'https://nacos.io/en-us/docs/quick-start.html', + link: 'https://nacos.io/en-us/docs/v2/quickstart/quick-start.html', }, { key: 'blog', @@ -64,15 +64,15 @@ module.exports = { list: [ { text: 'Overview', - link: '/en-us/docs/what-is-nacos.html', + link: '/en-us/docs/v2/what-is-nacos.html', }, { text: 'Quick start', - link: '/en-us/docs/quick-start.html', + link: '/en-us/docs/v2/quickstart/quick-start.html', }, { text: 'Developer guide', - link: '/en-us/docs/contributing.html', + link: '/en-us/docs/v2/contribution/contributing.html', }, ], }, @@ -97,7 +97,7 @@ module.exports = { { key: 'docs', text: '文档', - link: 'https://nacos.io/zh-cn/docs/what-is-nacos.html', + link: 'https://nacos.io/zh-cn/docs/v2/what-is-nacos.html', }, { key: 'blog', @@ -129,15 +129,15 @@ module.exports = { list: [ { text: '概览', - link: '/zh-cn/docs/what-is-nacos.html', + link: '/zh-cn/docs/v2/concepts.html', }, { text: '快速开始', - link: '/zh-cn/docs/quick-start.html', + link: '/zh-cn/docs/v2/quickstart/quick-start.html', }, { text: '开发者指南', - link: '/zh-cn/docs/contributing.html', + link: '/zh-cn/docs/v2/contribution/contributing.html', }, ], }, diff --git a/console-ui/src/layouts/Header.js b/console-ui/src/layouts/Header.js index 8726a1cb5..ab79761ef 100644 --- a/console-ui/src/layouts/Header.js +++ b/console-ui/src/layouts/Header.js @@ -91,7 +91,7 @@ class Header extends React.Component { const BASE_URL = `https://nacos.io/${language.toLocaleLowerCase()}/`; const NAV_MENU = [ { id: 1, title: home, link: BASE_URL }, - { id: 2, title: docs, link: `${BASE_URL}docs/what-is-nacos.html` }, + { id: 2, title: docs, link: `${BASE_URL}docs/v2/what-is-nacos.html` }, { id: 3, title: blog, link: `${BASE_URL}blog/index.html` }, { id: 4, title: community, link: `${BASE_URL}community/index.html` }, { diff --git a/console/src/main/resources/static/index.html b/console/src/main/resources/static/index.html index 17e54aae4..7489e142d 100644 --- a/console/src/main/resources/static/index.html +++ b/console/src/main/resources/static/index.html @@ -35,7 +35,7 @@ - +
@@ -56,6 +56,6 @@ - +