Skip to content

Commit 84890d8

Browse files
committed
docs: temporarily remove banner
1 parent cc11f94 commit 84890d8

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"size": "pnpm run -r size",
1414
"build": "pnpm run -r build",
1515
"build:dts": "pnpm run -r build:dts",
16-
"docs:build": "pnpm run -r docs:build --filter ./packages/docs",
16+
"docs:api": "pnpm run --filter ./packages/docs -r docs:api",
17+
"docs:build": "pnpm run docs:api && pnpm run --filter ./packages/docs -r docs:build",
1718
"play": "pnpm run -r play",
1819
"build:size": "pnpm run -r build:size",
1920
"lint": "pnpm run lint:script && pnpm run lint:html",

packages/docs/.vitepress/config/shared.ts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,16 @@ export const sharedConfig = defineConfig({
6969
// },
7070
// ],
7171

72-
[
73-
'script',
74-
{
75-
src: 'https://vueschool.io/banners/main.js',
76-
// @ts-expect-error: vitepress bug
77-
async: true,
78-
type: 'text/javascript',
79-
},
80-
],
72+
// TODO: reactivate once it's fixed
73+
// [
74+
// 'script',
75+
// {
76+
// src: 'https://vueschool.io/banners/main.js',
77+
// // @ts-expect-error: vitepress bug
78+
// async: true,
79+
// type: 'text/javascript',
80+
// },
81+
// ],
8182

8283
...(isProduction ? productionHead : []),
8384
],

0 commit comments

Comments
 (0)