summaryrefslogtreecommitdiff
path: root/docs/vitepress.config.ts
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-04 23:32:53 +0000
committerAylur <[email protected]>2024-09-04 23:32:53 +0000
commit93e41a321212361c175812788492d56e5a89ade3 (patch)
tree17d8513fb7f240acb8d9f5d5a95041a06b245e4d /docs/vitepress.config.ts
parent539a6b4cc1976aafd395e29450da83a17a73a6e0 (diff)
docs: fix links
added initial documention for each library
Diffstat (limited to 'docs/vitepress.config.ts')
-rw-r--r--docs/vitepress.config.ts30
1 files changed, 13 insertions, 17 deletions
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" },
],
},
],