From 16fd3aad677732ff31e76327f174cc0360e1a5b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Israel=20Ortu=C3=B1o?= Date: Wed, 4 Jan 2023 15:56:14 +0100 Subject: [PATCH] Disable VueJobs widget --- .vitepress/config.ts | 3 +-- .vitepress/theme/index.ts | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 6928ab2641..f402406a6c 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -4,7 +4,6 @@ import { defineConfigWithTheme } from 'vitepress' import type { Config as ThemeConfig } from '@vue/theme' import baseConfig from '@vue/theme/config' import { headerPlugin } from './headerMdPlugin' -import { jobsPlugin } from './jobsMdPlugin' const nav: ThemeConfig['nav'] = [ { @@ -662,7 +661,7 @@ export default defineConfigWithTheme({ markdown: { config(md) { - md.use(headerPlugin).use(jobsPlugin) + md.use(headerPlugin) } }, diff --git a/.vitepress/theme/index.ts b/.vitepress/theme/index.ts index dead8883b0..fbf4d0afb4 100644 --- a/.vitepress/theme/index.ts +++ b/.vitepress/theme/index.ts @@ -8,7 +8,6 @@ import { filterHeadersByPreference } from './components/preferences' import SponsorsAside from './components/SponsorsAside.vue' -import VueJobs from './components/VueJobs.vue' import VueSchoolLink from './components/VueSchoolLink.vue' // import Banner from './components/Banner.vue' @@ -26,6 +25,5 @@ export default Object.assign({}, VPTheme, { app.provide('prefer-sfc', preferSFC) app.provide('filter-headers', filterHeadersByPreference) app.component('VueSchoolLink', VueSchoolLink) - app.component('VueJobs', VueJobs) } })