Skip to content
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
4 changes: 2 additions & 2 deletions src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ export default defineUserConfig({
redirectPlugin({
// hostname: 'https://iotdb.apache.org/',
config: {
'/UserGuide/Master/QuickStart/QuickStart.html': '/UserGuide/V1.1.x/QuickStart/QuickStart.html',
'/zh/UserGuide/Master/QuickStart/QuickStart.html': '/zh/UserGuide/V1.1.x/QuickStart/QuickStart.html',
'/UserGuide/Master/QuickStart/QuickStart.html': '/UserGuide/V1.2.x/QuickStart/QuickStart.html',
'/zh/UserGuide/Master/QuickStart/QuickStart.html': '/zh/UserGuide/V1.2.x/QuickStart/QuickStart.html',
},
}),
googleAnalyticsPlugin({
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/navbar/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const enNavbar = navbar([
text: 'Documentation',
children: [
// { text: 'latest', link: '/UserGuide/Master/QuickStart/QuickStart' },
// { text: 'v1.2.x', link: '/UserGuide/V1.2.x/QuickStart/QuickStart' },
{ text: 'v1.2.x', link: '/UserGuide/V1.2.x/QuickStart/QuickStart' },
{ text: 'v1.1.x', link: '/UserGuide/V1.1.x/QuickStart/QuickStart' },
{ text: 'v1.0.x', link: '/UserGuide/V1.0.x/QuickStart/QuickStart' },
{ text: 'v0.13.x', link: '/UserGuide/V0.13.x/QuickStart/QuickStart' },
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/navbar/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const zhNavbar = navbar([
text: '文档',
children: [
// { text: 'latest', link: '/zh/UserGuide/Master/QuickStart/QuickStart' },
// { text: 'v1.2.x', link: '/zh/UserGuide/V1.2.x/QuickStart/QuickStart' },
{ text: 'v1.2.x', link: '/zh/UserGuide/V1.2.x/QuickStart/QuickStart' },
{ text: 'v1.1.x', link: '/zh/UserGuide/V1.1.x/QuickStart/QuickStart' },
{ text: 'v1.0.x', link: '/zh/UserGuide/V1.0.x/QuickStart/QuickStart' },
{ text: 'v0.13.x', link: '/zh/UserGuide/V0.13.x/QuickStart/QuickStart' },
Expand Down
76 changes: 76 additions & 0 deletions src/.vuepress/navbar_timecho/en.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/

import { navbar } from 'vuepress-theme-hope';

export const enNavbar = navbar([
{
text: 'Documentation',
children: [
// { text: 'latest', link: '/UserGuide/Master/QuickStart/QuickStart' },
{ text: 'v1.2.x', link: '/UserGuide/V1.2.x/QuickStart/QuickStart' },
{ text: 'v1.1.x', link: '/UserGuide/V1.1.x/QuickStart/QuickStart' },
{ text: 'v1.0.x', link: '/UserGuide/V1.0.x/QuickStart/QuickStart' },
{ text: 'v0.13.x', link: '/UserGuide/V0.13.x/QuickStart/QuickStart' },
],
},
{
text: 'Design',
link: 'https://cwiki.apache.org/confluence/display/IOTDB/System+Design',
},
{
text: 'Download',
link: '/Download/',
},
{
text: 'Community',
children: [
{ text: 'About', link: '/Community/About' },
{ text: 'Wiki', link: 'https://cwiki.apache.org/confluence/display/iotdb' },
{ text: 'People', link: '/Community/Community-Project-Committers' },
{ text: 'Powered By', link: '/Community/Community-Powered-By' },
{ text: 'Resources', link: '/Community/Materials' },
{ text: 'Feedback', link: '/Community/Feedback' },
],
},
{
text: 'Development',
children: [
{ text: 'How to vote', link: '/Development/VoteRelease' },
{ text: 'How to Commit', link: '/Development/HowToCommit' },
{ text: 'Become a Contributor', link: '/Development/HowToJoin' },
{ text: 'Become a Committer', link: '/Development/Committer' },
{ text: 'ContributeGuide', link: '/Development/ContributeGuide' },
{ text: 'How to Contribute Code', link: '/Development/HowtoContributeCode' },
{ text: 'Changelist of TsFile', link: '/Development/format-changelist' },
{ text: 'Changelist of RPC', link: '/Development/rpc-changelist' },
],
},
{
text: 'ASF',
children: [
{ text: 'Foundation', link: 'https://www.apache.org/' },
{ text: 'License', link: 'https://www.apache.org/licenses/' },
{ text: 'Security', link: 'https://www.apache.org/security/' },
{ text: 'Sponsorship', link: 'https://www.apache.org/foundation/sponsorship.html' },
{ text: 'Thanks', link: 'https://www.apache.org/foundation/thanks.html' },
{ text: 'Current Events', link: 'https://www.apache.org/events/current-event' },
],
},
]);
21 changes: 21 additions & 0 deletions src/.vuepress/navbar_timecho/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/

export * from './en.js';
export * from './zh.js';
76 changes: 76 additions & 0 deletions src/.vuepress/navbar_timecho/zh.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/

import { navbar } from 'vuepress-theme-hope';

export const zhNavbar = navbar([
{
text: '文档',
children: [
// { text: 'latest', link: '/zh/UserGuide/Master/QuickStart/QuickStart' },
{ text: 'v1.2.x', link: '/zh/UserGuide/V1.2.x/QuickStart/QuickStart' },
{ text: 'v1.1.x', link: '/zh/UserGuide/V1.1.x/QuickStart/QuickStart' },
{ text: 'v1.0.x', link: '/zh/UserGuide/V1.0.x/QuickStart/QuickStart' },
{ text: 'v0.13.x', link: '/zh/UserGuide/V0.13.x/QuickStart/QuickStart' },
],
},
{
text: '系统设计',
link: 'https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=177051872',
},
{
text: '下载',
link: '/zh/Download/',
},
{
text: '社区',
children: [
{ text: '关于社区', link: '/zh/Community/About' },
{ text: 'Wiki', link: 'https://cwiki.apache.org/confluence/display/iotdb' },
{ text: '开发人员', link: '/zh/Community/Community-Project-Committers' },
{ text: '技术支持', link: '/zh/Community/Community-Powered-By' },
{ text: '活动与报告', link: '/Community/Materials' },
{ text: '交流与反馈', link: '/zh/Community/Feedback' },
],
},
{
text: '开发',
children: [
{ text: '如何投票', link: '/zh/Development/VoteRelease' },
{ text: '如何提交代码', link: '/zh/Development/HowToCommit' },
{ text: '成为Contributor', link: '/zh/Development/HowToJoin' },
{ text: '成为Committer', link: '/zh/Development/Committer' },
{ text: '项目开发指南', link: '/zh/Development/ContributeGuide' },
{ text: '技术贡献指南', link: '/zh/Development/HowtoContributeCode' },
{ text: 'TsFile的更改列表', link: '/zh/Development/format-changelist' },
{ text: 'RPC变更清单', link: '/zh/Development/rpc-changelist' },
],
},
{
text: 'ASF',
children: [
{ text: '基金会', link: 'https://www.apache.org/' },
{ text: '许可证', link: 'https://www.apache.org/licenses/' },
{ text: '安全', link: 'https://www.apache.org/security/' },
{ text: '赞助', link: 'https://www.apache.org/foundation/sponsorship.html' },
{ text: '致谢', link: 'https://www.apache.org/foundation/thanks.html' },
{ text: '活动', link: 'https://www.apache.org/events/current-event' },
],
},
]);
8 changes: 4 additions & 4 deletions src/.vuepress/sidebar/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ import { enSidebar as V100xSidebar } from './V1.0.x/en.js';
import { enSidebar as V013xSidebar } from './V0.13.x/en.js';

export const enSidebar = sidebar({
...V102xSidebar,
...V101xSidebar,
...V100xSidebar,
...V013xSidebar,
// '/UserGuide/Master/': [
// {
// text: 'IoTDB User Guide (latest)',
Expand Down Expand Up @@ -300,8 +304,4 @@ export const enSidebar = sidebar({
// ],
// },
// ],
// ...V102xSidebar,
...V101xSidebar,
...V100xSidebar,
...V013xSidebar,
});
Loading