Skip to content

Commit

Permalink
chore(docs): change homepage config
Browse files Browse the repository at this point in the history
  • Loading branch information
zoomchan-cxj committed May 8, 2021
1 parent 5828862 commit 83738a5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ node_modules
package-lock.json

# docs
docs/.vuepress/dist/*
docs/.vuepress/dist
docs/guide/.DS_Store
docs/external_*

Expand Down
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion docs/.vuepress/components/LogoGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ div.logo-group {
margin-bottom: 1rem;
img {
height: 130px;
max-width: none;
}
h3 {
font-size: 10px;
Expand All @@ -71,8 +72,9 @@ div.logo-group {
width: 33%;
padding: 20px;
margin-right: 0;
img{
img {
height: 118px;
max-width: none;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 83738a5

Please sign in to comment.