diff --git a/.vuepress/config-sidebar.js b/.vuepress/config-sidebar.js index 5ba280a..3dbb54a 100644 --- a/.vuepress/config-sidebar.js +++ b/.vuepress/config-sidebar.js @@ -282,6 +282,7 @@ module.exports = { 'k8s-intermediate/config/taints-toleration/use-case', 'k8s-intermediate/config/taints-toleration/taint-based-evictions', 'k8s-intermediate/config/taints-toleration/taint-nodes-by-condition', + 'k8s-intermediate/config/taints-toleration/kuboard-toleration', ] }, { diff --git a/.vuepress/config.js b/.vuepress/config.js index 3a3dd74..c3c8c88 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -148,7 +148,7 @@ module.exports = { } }, themeConfig: { - incompleteRatio: 20, + incompleteRatio: 15, showMoreAds: false, showAds: true, kuboardToken: 'eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrdWJlLXN5c3RlbSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJrdWJvYXJkLXZpZXdlci10b2tlbi1mdGw0diIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJrdWJvYXJkLXZpZXdlciIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImE1YWFiMmQxLTQxMjYtNDU5Yi1hZmNhLTkyYzMwZDk0NTQzNSIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDprdWJlLXN5c3RlbTprdWJvYXJkLXZpZXdlciJ9.eYqN3FLIT6xs0-lm8AidZtaiuHeX70QTn9FhJglhEyh5dlyMU5lo8UtR-h1OY8sTSeYdYKJAS83-9SUObKQhp6XNmRgOYAfZblKUy4mvbGVQ3dn_qnzxYxt6zdGCwIY7E34eNNd9IjMF7G_Y4eJLWE7NvkSB1O8zbdn8En9rQXv_xJ9-ugCyr4CYB1lDGuZl3CIXgQ1FWcQdUBrxTT95tzcNTB0l6OUOGhRxOfw-RyIOST83GV5U0iVzxnD4sjgSaJefvCU-BmwXgpxAwRVhFyHEziXXa0CuZfBfJbmnQW308B4wocr4QDm6Nvmli1P3B6Yo9-HNF__d2hCwZEr7eg', @@ -157,7 +157,7 @@ module.exports = { { text: '安装', link: '/install/install-dashboard' }, { text: '教程', link: '/learning/' }, { text: '使用', link: '/guide/' }, - { text: '培训', link: 'https://kubetrain.cn/?from=kuboard', target: '_blank' }, + // { text: '培训', link: 'https://kubetrain.cn/?from=kuboard', target: '_blank' }, { text: '支持', link: '/support/' }, // { text: '博客', link: 'https://blog.kuboard.cn/compaign' } // { text: 'DevOps', link: '/devops/' } diff --git a/.vuepress/enhanceApp.js b/.vuepress/enhanceApp.js index 13aa3cf..0fea585 100644 --- a/.vuepress/enhanceApp.js +++ b/.vuepress/enhanceApp.js @@ -68,7 +68,7 @@ export default ({ window.$sendGaEvent = Vue.prototype.$sendGaEvent window.openOutboundLink = function (a) { let url = new URL(a.href) - window.$sendGaEvent('OutboundLink: ' + url.hostname, 'OutboundLink: ' + a.innerText, 'OL:' + a.href) + window.$sendGaEvent('OL: ' + url.hostname, 'OL: ' + a.innerText, 'OL: ' + a.href) } if (location.search && (location.search.indexOf('sharing') >=0 || location.search.indexOf('from=timeline') >= 0)) { sharing = true diff --git a/.vuepress/styles/index.styl b/.vuepress/styles/index.styl index 7cb9f0d..c8a3d0c 100644 --- a/.vuepress/styles/index.styl +++ b/.vuepress/styles/index.styl @@ -26,6 +26,12 @@ li>code { font-size: 90%; } +td>code { + color: #c7254e !important; + background-color: #f9f2f4; + font-size: 90%; +} + h1~ul { margin-top: 0.8rem; } diff --git a/learning/README.md b/learning/README.md index 4c06a51..0e12a52 100644 --- a/learning/README.md +++ b/learning/README.md @@ -9,9 +9,9 @@ meta: content: K8S教程,K8S 教程,K8S培训,Kubernetes培训 --- -# Kubernetes 教程 +# Kubernetes教程 -