From 2bf54d3b40714ba83a7d3841e038ef1645affa14 Mon Sep 17 00:00:00 2001 From: Camilo Garcia Date: Wed, 30 Oct 2024 14:23:46 -0500 Subject: [PATCH] Add VersionPicker component to navigation and update copyright notice in config --- docs/src/.vitepress/config.mts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/src/.vitepress/config.mts b/docs/src/.vitepress/config.mts index e8f4da0..c6bfe4d 100644 --- a/docs/src/.vitepress/config.mts +++ b/docs/src/.vitepress/config.mts @@ -3,6 +3,13 @@ import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs' import mathjax3 from "markdown-it-mathjax3"; import footnote from "markdown-it-footnote"; +const nav = [ + ...navTemp.nav, + { + component: 'VersionPicker' + } +] + // https://vitepress.dev/reference/site-config export default defineConfig({ base: 'REPLACE_ME_DOCUMENTER_VITEPRESS',// TODO: replace this in makedocs! @@ -43,7 +50,7 @@ export default defineConfig({ ], footer: { message: 'Made with DocumenterVitepress.jl
', - copyright: `© Copyright ${new Date().getUTCFullYear()}.` + copyright: `© Copyright ${new Date().getUTCFullYear()}. Released under the MIT License.` } } }) \ No newline at end of file