Skip to content

Commit

Permalink
nacos ui doc update to v2 (#10730)
Browse files Browse the repository at this point in the history
* nacos ui doc update to v2

* nacos ui doc update to v2

* fix conflict
  • Loading branch information
Joey777210 authored Jul 10, 2023
1 parent 8bb957d commit 1f5dbf0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
16 changes: 8 additions & 8 deletions console-ui/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
},
],
},
Expand All @@ -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',
Expand Down Expand Up @@ -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',
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion console-ui/src/layouts/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -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` },
{
Expand Down
4 changes: 2 additions & 2 deletions console/src/main/resources/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<link rel="stylesheet" type="text/css" href="console-ui/public/css/icon.css">
<link rel="stylesheet" type="text/css" href="console-ui/public/css/font-awesome.css">
<!-- 第三方css结束 -->
<link href="./css/main.css?fa5b9ed06cebf6d77a17" rel="stylesheet"></head>
<link href="./css/main.css?17a33926721c99af1059" rel="stylesheet"></head>

<body>
<div id="root" style="overflow:hidden"></div>
Expand All @@ -56,6 +56,6 @@
<script src="console-ui/public/js/merge.js"></script>
<script src="console-ui/public/js/loader.js"></script>
<!-- 第三方js结束 -->
<script type="text/javascript" src="./js/main.js?fa5b9ed06cebf6d77a17"></script></body>
<script type="text/javascript" src="./js/main.js?17a33926721c99af1059"></script></body>

</html>
2 changes: 1 addition & 1 deletion console/src/main/resources/static/js/main.js

Large diffs are not rendered by default.

0 comments on commit 1f5dbf0

Please sign in to comment.