diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 5ec6b16..feff04b 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -9,7 +9,7 @@ export default defineConfig({ // https://vitepress.dev/reference/default-theme-config nav: [ { text: 'Home', link: '/' }, - { text: 'Specification', link: '/spec' } + { text: 'Specification', link: '/spec' }, ], sidebar: [ @@ -49,6 +49,20 @@ export default defineConfig({ socialLinks: [ { icon: 'github', link: 'https://github.com/lysand-org/' } - ] - } + ], + search: { + provider: "local", + }, + editLink: { + pattern: "https://github.com/lysand-org/docs/edit/main/docs/:path" + }, + logo: "/logo.png", + }, + lastUpdated: true, + cleanUrls: true, + titleTemplate: ":title ยท Lysand Documentation", + head: [ + ['link', { rel: 'icon', href: '/favicon.png', type: 'image/png' }] + ], + lang: 'en-US', }) diff --git a/docs/index.md b/docs/index.md index 4b25313..828b1d1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -5,7 +5,10 @@ layout: home hero: name: "Lysand" text: "Federation, simpler" - tagline: A simple to implement and complete federation protocol + tagline: A simple to implement and complete federation protocol (WIP new site) + image: + src: /logo.png + alt: Lysand Logo actions: - theme: brand text: Protocol Docs @@ -22,5 +25,3 @@ features: - title: Easy to implement details: The protocol is simple to implement, and can be used with any language --- - - diff --git a/docs/public/favicon.png b/docs/public/favicon.png new file mode 100644 index 0000000..c56caef Binary files /dev/null and b/docs/public/favicon.png differ diff --git a/docs/public/logo.png b/docs/public/logo.png new file mode 100644 index 0000000..ce4f59f Binary files /dev/null and b/docs/public/logo.png differ