Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nacos ui doc update to v2 #10730

Merged
merged 4 commits into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.