Skip to content

Commit

Permalink
docs: temporarily remove banner
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Feb 15, 2023
1 parent cc11f94 commit 84890d8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"size": "pnpm run -r size",
"build": "pnpm run -r build",
"build:dts": "pnpm run -r build:dts",
"docs:build": "pnpm run -r docs:build --filter ./packages/docs",
"docs:api": "pnpm run --filter ./packages/docs -r docs:api",
"docs:build": "pnpm run docs:api && pnpm run --filter ./packages/docs -r docs:build",
"play": "pnpm run -r play",
"build:size": "pnpm run -r build:size",
"lint": "pnpm run lint:script && pnpm run lint:html",
Expand Down
19 changes: 10 additions & 9 deletions packages/docs/.vitepress/config/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,16 @@ export const sharedConfig = defineConfig({
// },
// ],

[
'script',
{
src: 'https://vueschool.io/banners/main.js',
// @ts-expect-error: vitepress bug
async: true,
type: 'text/javascript',
},
],
// TODO: reactivate once it's fixed
// [
// 'script',
// {
// src: 'https://vueschool.io/banners/main.js',
// // @ts-expect-error: vitepress bug
// async: true,
// type: 'text/javascript',
// },
// ],

...(isProduction ? productionHead : []),
],
Expand Down

0 comments on commit 84890d8

Please sign in to comment.