diff --git a/.vuepress/Layout.vue b/.vuepress/Layout.vue
new file mode 100644
index 0000000..d29e669
--- /dev/null
+++ b/.vuepress/Layout.vue
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.vuepress/config.js b/.vuepress/config.js
index f3a6cb6..394fa32 100644
--- a/.vuepress/config.js
+++ b/.vuepress/config.js
@@ -14,6 +14,7 @@ module.exports = {
'@vuepress/back-to-top': {},
'@vuepress/last-updated': {}
},
+ extend: '@vuepress/theme-default',
themeConfig: {
nav: [
{ text: '简介', link: '/overview/' },
@@ -26,40 +27,48 @@ module.exports = {
serviceWorker: {
updatePopup: true
},
+ lastUpdated: '更新时间',
sidebar: {
'/overview/': [
- ['', '简介'],
- ['why-kuboard', '为什么选择 Kuboard'],
- ['concepts', '如何降低K8S学习门槛']
+ {
+ title: '简介',
+ collapsable: false,
+ children: [
+ ''
+ ]
+ }, {
+ title: 'Why Kuboard',
+ collapsable: false,
+ children: [
+ 'why-kuboard',
+ 'concepts'
+ ]
+ }
],
'/install/': [
- '',
- 'install-k8s',
- 'install-kubernetes',
- 'install-dashboard'
- // {
- // title: '概述',
- // collapsable: false,
- // children: [
- // ['', '概述']
- // ]
- // },
- // {
- // title: '安装 Kubernetes',
- // collapsable: false,
- // children: [
- // ['install-k8s', '安装 Kubernetes 用于测试'],
- // ['install-kubernetes', '安装 Kubernetes 高可用'],
- // ]
- // },
- // {
- // title: '安装 Kuboard',
- // collapsable: false,
- // children: [
- // ['install-dashboard', '安装 Kuboard'],
- // ]
- // },
+ {
+ title: '概述',
+ collapsable: false,
+ children: [
+ ''
+ ]
+ },
+ {
+ title: '安装 Kubernetes',
+ collapsable: false,
+ children: [
+ 'install-k8s',
+ 'install-kubernetes',
+ ]
+ },
+ {
+ title: '安装 Kuboard',
+ collapsable: false,
+ children: [
+ 'install-dashboard'
+ ]
+ },
],
'/guide/': [
@@ -122,11 +131,6 @@ module.exports = {
'/support/': [
''
],
-
- // // fallback
- // '/': [
- // ''
- // ]
}
}
}
diff --git a/.vuepress/styles/index.styl b/.vuepress/styles/index.styl
new file mode 100644
index 0000000..9e643bd
--- /dev/null
+++ b/.vuepress/styles/index.styl
@@ -0,0 +1,6 @@
+.content__default {
+ max-width: 1000px !important;
+}
+p img {
+ border: 1px solid #d7dae2;
+}
\ No newline at end of file
diff --git a/.vuepress/styles/palette.styl b/.vuepress/styles/palette.styl
new file mode 100644
index 0000000..d0a02de
--- /dev/null
+++ b/.vuepress/styles/palette.styl
@@ -0,0 +1,4 @@
+$accentColor = #3eaf7c
+$textColor = #2c3e50
+$borderColor = #eaecef
+$codeBgColor = #282c34
\ No newline at end of file
diff --git a/README.md b/README.md
index 4ccfe01..d92651d 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
---
home: true
-heroImage: /overview.png
+# heroImage: /overview.png
actionText: Get Started →
actionLink: /overview/
features:
diff --git a/deploy.sh b/deploy.sh
index ae2974a..2132993 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -12,7 +12,7 @@ npm run docs:build
# echo 'www.example.com' > CNAME
git add -A
-git commit -m 'deploy '$1
+git commit -m ''$1
# if you are deploying to https://.github.io
# git push -f git@github.com:/.github.io.git master
diff --git a/docs/404.html b/docs/404.html
index 1c33e7b..4d25672 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -7,11 +7,11 @@
-
-
+
+
-
+