Skip to content

Commit 86f4dc6

Browse files
committed
Update Config
1 parent 6a3761a commit 86f4dc6

File tree

4 files changed

+27
-18
lines changed

4 files changed

+27
-18
lines changed

.vitepress/config.mts

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -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

docs/clients/cli.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
next:
3+
text: 'Documentation'
4+
link: '/docs/'
5+
---
6+
17
# Command Line Interface
28

39
A CLI is available for Python 3 from [PyPi](https://pypi.org/project/zipline-cli).
File renamed without changes.

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ hero:
2020
link: /clients
2121
theme: alt
2222
- text: Documentation
23-
link: /docs/home
23+
link: /docs
2424
theme: alt
2525

2626
features:
@@ -35,7 +35,7 @@ features:
3535
link: /clients
3636
- title: Documentation
3737
details: Review Features and Options
38-
link: /docs/home
38+
link: /docs
3939
- title: Open Source
4040
details: View Source Code on GitHub
4141
link: https://github.com/django-files/django-files

0 commit comments

Comments
 (0)