diff --git a/.gitignore b/.gitignore index 7e08fda..897bfe7 100644 --- a/.gitignore +++ b/.gitignore @@ -36,7 +36,7 @@ node_modules package-lock.json # docs -docs/.vuepress/dist/* +docs/.vuepress/dist docs/guide/.DS_Store docs/external_* diff --git a/deploy.sh b/deploy.sh index ec2a77c..cf9acfd 100755 --- a/deploy.sh +++ b/deploy.sh @@ -10,7 +10,7 @@ npm run docs:build cd docs/.vuepress/dist # 如果是发布到自定义域名 -# echo 'www.example.com' > CNAME +echo 'taitanklayout.com' > CNAME git init git add -A diff --git a/docs/.vuepress/components/LogoGroup.vue b/docs/.vuepress/components/LogoGroup.vue index 7664da9..ea98006 100644 --- a/docs/.vuepress/components/LogoGroup.vue +++ b/docs/.vuepress/components/LogoGroup.vue @@ -57,6 +57,7 @@ div.logo-group { margin-bottom: 1rem; img { height: 130px; + max-width: none; } h3 { font-size: 10px; @@ -71,8 +72,9 @@ div.logo-group { width: 33%; padding: 20px; margin-right: 0; - img{ + img { height: 118px; + max-width: none; } } } diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index a7b239d..2bb8751 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -17,7 +17,7 @@ module.exports = { md.use(require("markdown-it-disable-url-encode")); } }, - base: "/Taitank/", + base: "/", dest: "./docs/.vuepress/dist", themeConfig: { logo: "/logo_notitle.svg",