diff --git a/.vuepress/config.js b/.vuepress/config.js index 6a8e078..fb34862 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -55,9 +55,10 @@ module.exports = { nav: [ { text: '简介', link: '/overview/' }, { text: '安装', link: '/install/install-dashboard' }, + { text: '学习', link: '/learning/k8s-basics/kubernetes-basics.html' }, { text: '使用', link: '/guide/' }, { text: '微服务', link: '/micro-service/spring-cloud/' }, - { text: '有奖征文', link: 'https://blog.kuboard.cn/compaign' } + { text: '博客', link: 'https://blog.kuboard.cn/compaign' } // { text: 'DevOps', link: '/devops/' } ], displayAllHeaders: false, @@ -146,6 +147,21 @@ module.exports = { } ], + '/learning/': [ + { + title: 'Kubernetes 入门', + collapsable: false, + children: [ + 'k8s-basics/kubernetes-basics', + 'k8s-basics/deploy-app', + 'k8s-basics/explore', + 'k8s-basics/expose', + 'k8s-basics/scale', + 'k8s-basics/update' + ] + }, + ], + '/guide/': [ { title: '概述', @@ -204,18 +220,6 @@ module.exports = { ], '/micro-service/': [ - { - title: 'Kubernetes 入门', - collapsable: false, - children: [ - 'prepare/k8s-basics/kubernetes-basics', - 'prepare/k8s-basics/deploy-app', - 'prepare/k8s-basics/explore', - 'prepare/k8s-basics/expose', - 'prepare/k8s-basics/scale', - 'prepare/k8s-basics/update' - ] - }, { title: 'Spring Cloud', collapsable: false, diff --git a/.vuepress/public/robots.txt b/.vuepress/public/robots.txt new file mode 100644 index 0000000..c2a49f4 --- /dev/null +++ b/.vuepress/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: / diff --git a/.vuepress/theme/layouts/Layout.vue b/.vuepress/theme/layouts/Layout.vue index 8ebc0b3..89a09f1 100644 --- a/.vuepress/theme/layouts/Layout.vue +++ b/.vuepress/theme/layouts/Layout.vue @@ -8,6 +8,9 @@
+