Skip to content

Commit 6763272

Browse files
committed
Update Prev/Next Links
1 parent 33a11ba commit 6763272

File tree

8 files changed

+31
-14
lines changed

8 files changed

+31
-14
lines changed

.vitepress/config.mts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ export default defineConfig({
3333
['meta', { property: 'og:site_name', content: settings.name }],
3434
['meta', { property: 'og:title', content: settings.title }],
3535
['meta', { property: 'og:description', content: settings.description.short }],
36-
['meta', { property: 'og:image', content: '/images/logo-lg.png' }],
36+
['meta', { property: 'og:image', content: '/images/logo.png' }],
3737
['meta', { property: 'og:image:alt', content: settings.title }],
3838

3939
['meta', { property: 'twitter:card', content: 'summary' }],
4040
['meta', { property: 'twitter:site', content: settings.name }],
4141
['meta', { property: 'twitter:title', content: settings.title }],
4242
['meta', { property: 'twitter:description', content: settings.description.short }],
43-
['meta', { property: 'twitter:image', content: '/images/logo-lg.png' }],
43+
['meta', { property: 'twitter:image', content: '/images/logo.png' }],
4444
['meta', { property: 'twitter:image:alt', content: settings.title }],
4545
],
4646

@@ -52,7 +52,7 @@ export default defineConfig({
5252
nav: [
5353
{ text: 'Home', link: '/' },
5454
{ text: 'Guides', link: '/guides/get-started', activeMatch: '/guides/' },
55-
{ text: 'Clients', link: '/clients/home', activeMatch: '/clients/' },
55+
{ text: 'Clients', link: '/clients', activeMatch: '/clients/' },
5656
{ text: 'Docs', link: '/docs/home', activeMatch: '/docs/' },
5757
{
5858
text: 'Links',
@@ -67,7 +67,6 @@ export default defineConfig({
6767
sidebar: [
6868
{
6969
text: 'Guides',
70-
collapsed: false,
7170
items: [
7271
{
7372
text: 'Get Started',
@@ -86,12 +85,9 @@ export default defineConfig({
8685
},
8786
{
8887
text: 'Clients',
88+
link: '/clients',
8989
collapsed: false,
9090
items: [
91-
{
92-
text: 'Uploaders',
93-
link: '/clients/home',
94-
},
9591
{
9692
text: 'Popular',
9793
collapsed: false,
@@ -115,7 +111,7 @@ export default defineConfig({
115111
},
116112
{
117113
text: 'Documentation',
118-
collapsed: false,
114+
collapsed: true,
119115
items: [{ text: 'Home', link: '/docs/home' }],
120116
},
121117
],

docs/clients/home.md renamed to docs/clients/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
---
2+
prev:
3+
text: 'Features'
4+
link: '/guides/features'
5+
next:
6+
text: 'ShareX (Windows)'
7+
link: '/clients/sharex'
8+
---
9+
110
# Clients
211

312
Many [Popular](#popular) clients are supported, including [Native](#native) clients for Mobile and others.

docs/docs/home.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
next:
3+
text: 'Get Started'
4+
link: '/guides/get-started'
5+
---
6+
17
# Documentation
28

39
> [!WARNING]

docs/guides/get-started.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
prev:
3+
text: 'Clients'
4+
link: '/clients'
5+
---
6+
17
# Getting Started
28

39
Get started by [running](#running) the server on your host and [accessing](#accessing) the site.

docs/guides/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The directory mounted to `/data/media` has the following structure.
1010

1111
| Directory | Description |
1212
| --------- | ------------------------------------------------- |
13-
| `db` | If using SQLite the databse file is stored here. |
13+
| `db` | If using SQLite the database file is stored here. |
1414
| `files` | If using file storage, the files are stored here. |
1515
| `redis` | Redis snapshots are stored here. |
1616

docs/guides/upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ You can download one-click configurations for many clients on the User page.
2424

2525
Navigate to: `User Settings` > `Clients`
2626

27-
There is also a list of [supported clients](../clients/home.md).
27+
There is also a list of [supported clients](../clients/index.md).

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hero:
77
text: Upload Server
88
tagline: Feature Packed Self-Hosted ShareX Upload Server
99
image:
10-
src: /images/logo-lg.png
10+
src: /images/logo.png
1111
alt: Django Files
1212
actions:
1313
- text: Get Started
@@ -17,7 +17,7 @@ hero:
1717
link: /guides/features
1818
theme: brand
1919
- text: Clients
20-
link: /clients/home
20+
link: /clients
2121
theme: alt
2222
- text: Documentation
2323
link: /docs/home
@@ -32,7 +32,7 @@ features:
3232
link: /guides/features
3333
- title: Clients
3434
details: Get Upload Clients for All Platforms
35-
link: /clients/home
35+
link: /clients
3636
- title: Documentation
3737
details: Review Features and Options
3838
link: /docs/home
File renamed without changes.

0 commit comments

Comments
 (0)