@@ -58,9 +58,9 @@ export default defineConfig({
5858 logo : '/images/logo-sm.png' ,
5959 nav : [
6060 { text : 'Home' , link : '/' } ,
61- { text : 'Guides' , link : '/guides/get-started' , activeMatch : '/guides/' } ,
62- { text : 'Clients' , link : '/clients' , activeMatch : '/clients/' } ,
63- { text : 'Docs' , link : '/docs/home ' , activeMatch : '/docs/' } ,
61+ { text : 'Guides' , link : '/guides/get-started' , activeMatch : '^ /guides/' } ,
62+ { text : 'Clients' , link : '/clients' , activeMatch : '^ /clients/' } ,
63+ { text : 'Docs' , link : '/docs' , activeMatch : '^ /docs/' } ,
6464 {
6565 text : 'Links' ,
6666 items : [
@@ -75,43 +75,46 @@ export default defineConfig({
7575 sidebar : [
7676 {
7777 text : 'Guides' ,
78+ base : '/guides' ,
7879 collapsed : false ,
7980 items : [
80- { text : 'Get Started' , link : '/guides/ get-started' } ,
81- { text : 'Server Setup' , link : '/guides/ setup' } ,
82- { text : 'Uploading' , link : '/guides/ upload' } ,
83- { text : 'Features' , link : '/guides/ features' } ,
81+ { text : 'Get Started' , link : '/get-started' } ,
82+ { text : 'Server Setup' , link : '/setup' } ,
83+ { text : 'Uploading' , link : '/upload' } ,
84+ { text : 'Features' , link : '/features' } ,
8485 ] ,
8586 } ,
8687 {
8788 text : 'Clients' ,
88- link : '/clients' ,
89+ base : '/clients' ,
90+ link : '/' ,
8991 items : [
9092 {
9193 text : 'Popular' ,
9294 collapsed : false ,
9395 items : [
94- { text : 'ShareX (Windows)' , link : '/clients/ sharex' } ,
95- { text : 'Flameshot (Linux)' , link : '/clients/ flameshot' } ,
96- { text : 'Shortcuts (macOS)' , link : '/clients/ shortcuts' } ,
96+ { text : 'ShareX (Windows)' , link : '/sharex' } ,
97+ { text : 'Flameshot (Linux)' , link : '/flameshot' } ,
98+ { text : 'Shortcuts (macOS)' , link : '/shortcuts' } ,
9799 ] ,
98100 } ,
99101 {
100102 text : 'Native' ,
101103 collapsed : false ,
102104 items : [
103- { text : 'iOS' , link : '/clients/ ios' } ,
104- { text : 'Android' , link : '/clients/ android' } ,
105- { text : 'Browser Addon' , link : '/clients/ browser' } ,
106- { text : 'Command Line' , link : '/clients/ cli' } ,
105+ { text : 'iOS' , link : '/ios' } ,
106+ { text : 'Android' , link : '/android' } ,
107+ { text : 'Browser Addon' , link : '/browser' } ,
108+ { text : 'Command Line' , link : '/cli' } ,
107109 ] ,
108110 } ,
109111 ] ,
110112 } ,
111113 {
112114 text : 'Documentation' ,
115+ base : '/docs' ,
113116 collapsed : true ,
114- items : [ { text : 'Home' , link : '/docs/home ' } ] ,
117+ items : [ { text : 'Home' , link : '/' } ] ,
115118 } ,
116119 ] ,
117120
0 commit comments