From 4f279f0381321e3493594f7e707581a4c77079b3 Mon Sep 17 00:00:00 2001 From: Steve Date: Thu, 28 Mar 2024 20:25:52 +0100 Subject: [PATCH] chore: use dedicated subdomain for doc --- demo/index.html | 2 +- docs/.vitepress/config.js | 5 ++--- src/index.html | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/demo/index.html b/demo/index.html index d5eb03d..d47c201 100644 --- a/demo/index.html +++ b/demo/index.html @@ -30,7 +30,7 @@
-

Documentation

+

Documentation

diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index 14904b7..5e0553d 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -2,12 +2,11 @@ import { defineConfig } from 'vitepress' import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs' // https://vitepress.dev/reference/site-config +// https://vitepress.dev/reference/default-theme-config export default defineConfig({ title: "Kømpletr", description: "JS autocomplete library", themeConfig: { - base: '/docs/', - // https://vitepress.dev/reference/default-theme-config logo: { light: 'https://cdn.konfer.be/images/kompletr/logo-kompletr-dark.png', dark: 'https://cdn.konfer.be/images/kompletr/logo-kompletr-light.png' @@ -16,7 +15,7 @@ export default defineConfig({ nav: [ { text: 'Home', link: '/' }, { text: 'Guide', link: '/guide' }, - { text: 'Demo', link: 'https://kompletr.konfer.be' }, + { text: 'Demo', link: 'https://demo.kompletr.konfer.be' }, ], sidebar: { diff --git a/src/index.html b/src/index.html index 2ab9ae6..2f554e4 100644 --- a/src/index.html +++ b/src/index.html @@ -23,7 +23,7 @@
-

Documentation

+

Documentation