From eacb7851c88e2f332ca1b0e5b31bcbe654ae9e06 Mon Sep 17 00:00:00 2001 From: Jun Shindo <46585162+jay-es@users.noreply.github.com> Date: Mon, 29 May 2023 21:49:37 +0900 Subject: [PATCH] remove text ad (#1382) Co-authored-by: Evan You --- .vitepress/config.ts | 5 +++-- .vitepress/theme/index.ts | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index e4465e109..af4fbf030 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -4,7 +4,7 @@ import { defineConfigWithTheme } from 'vitepress' import type { Config as ThemeConfig } from '@vue/theme' import baseConfig from '@vue/theme/config' import { headerPlugin } from './headerMdPlugin' -import { textAdPlugin } from './textAdMdPlugin' +// import { textAdPlugin } from './textAdMdPlugin' const nav: ThemeConfig['nav'] = [ { @@ -712,7 +712,8 @@ export default defineConfigWithTheme({ markdown: { config(md) { - md.use(headerPlugin).use(textAdPlugin) + md.use(headerPlugin) + // .use(textAdPlugin) } }, diff --git a/.vitepress/theme/index.ts b/.vitepress/theme/index.ts index 512ce8eec..7084831ab 100644 --- a/.vitepress/theme/index.ts +++ b/.vitepress/theme/index.ts @@ -10,7 +10,7 @@ import { import SponsorsAside from './components/SponsorsAside.vue' import VueSchoolLink from './components/VueSchoolLink.vue' // import Banner from './components/Banner.vue' -import TextAd from './components/TextAd.vue' +// import TextAd from './components/TextAd.vue' export default Object.assign({}, VPTheme, { Layout: () => { @@ -26,6 +26,6 @@ export default Object.assign({}, VPTheme, { app.provide('prefer-sfc', preferSFC) app.provide('filter-headers', filterHeadersByPreference) app.component('VueSchoolLink', VueSchoolLink) - app.component('TextAd', TextAd) + // app.component('TextAd', TextAd) } })