From 40051cd76a904dd569a69ccbaacdbcc9d265aa32 Mon Sep 17 00:00:00 2001 From: Fernando Nogueira Date: Sat, 16 Mar 2024 02:40:58 -0400 Subject: [PATCH] chore: setup search, edit and last updated --- docs/.vitepress/config.mts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index fc13227..079f2f5 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,15 +1,20 @@ import { defineConfig } from "vitepress"; -// https://vitepress.dev/reference/site-config export default defineConfig({ base: "/rgs/", ignoreDeadLinks: true, title: "RGS Docs", description: "RGS Documentation", themeConfig: { + search: { + provider: "local", + }, + lastUpdated: {}, logo: "static/icon_bg.png", + editLink: { + pattern: "https://github.com/uorocketry/rgs/edit/main/docs/:path", + }, - // https://vitepress.dev/reference/default-theme-config nav: [ { text: "Home", link: "/" }, { text: "Guide", link: "/guide/" },