From 93e41a321212361c175812788492d56e5a89ade3 Mon Sep 17 00:00:00 2001 From: Aylur Date: Wed, 4 Sep 2024 23:32:53 +0000 Subject: docs: fix links added initial documention for each library --- docs/vitepress.config.ts | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) (limited to 'docs/vitepress.config.ts') diff --git a/docs/vitepress.config.ts b/docs/vitepress.config.ts index 62c7371..6a18529 100644 --- a/docs/vitepress.config.ts +++ b/docs/vitepress.config.ts @@ -1,9 +1,5 @@ import { defineConfig } from 'vitepress' -function reference(lib = "") { - return `https://aylur.github.io/libastal${lib}` -} - function github(url = "") { return `https://github.com/aylur/astal${url}` } @@ -65,19 +61,19 @@ export default defineConfig({ collapsed: true, items: [ { text: 'References', link: '/libraries/references' }, - { text: "Astal", link: reference("") }, - { text: "Apps", link: reference("/apps") }, - { text: "Auth", link: reference("/auth") }, - { text: "Battery", link: reference("/battery") }, - { text: "Bluetooth", link: reference("/bluetooth") }, - { text: "Hyprland", link: reference("/hyprland") }, - { text: "Mpris", link: reference("/mpris") }, - { text: "Network", link: reference("/network") }, - { text: "Notifd", link: reference("/notifd") }, - { text: "PowerProfiles", link: reference("/powerprofiles") }, - { text: "River", link: reference("/river") }, - { text: "Tray", link: reference("/tray") }, - { text: "WirePlumber", link: reference("/wireplumber") }, + { text: "Astal", link: "/libraries/libastal" }, + { text: "Apps", link: "/libraries/apps" }, + { text: "Auth", link: "/libraries/auth" }, + { text: "Battery", link: "/libraries/battery" }, + { text: "Bluetooth", link: "/libraries/bluetooth" }, + { text: "Hyprland", link: "/libraries/hyprland" }, + { text: "Mpris", link: "/libraries/mpris" }, + { text: "Network", link: "/libraries/network" }, + { text: "Notifd", link: "/libraries/notifd" }, + { text: "PowerProfiles", link: "/libraries/powerprofiles" }, + { text: "River", link: "/libraries/river" }, + { text: "Tray", link: "/libraries/tray" }, + { text: "WirePlumber", link: "/libraries/wireplumber" }, ], }, ], -- cgit v1.2.3