Skip to content

Commit e574048

Browse files
authored
Merge pull request #7 from SunriseCommunity/fix/broken-paths
2 parents 1257810 + 74ec018 commit e574048

8 files changed

Lines changed: 38 additions & 14 deletions

File tree

astro.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import mermaid from 'astro-mermaid';
55
import starlightThemeRapide from 'starlight-theme-rapide';
66
import starlightImageZoom from 'starlight-image-zoom';
77
import starlightScrollToTop from 'starlight-scroll-to-top';
8-
8+
import starlightLinksValidator from 'starlight-links-validator';
99

1010
// https://astro.build/config
1111
export default defineConfig({
@@ -54,7 +54,7 @@ export default defineConfig({
5454
},
5555
],
5656
description: 'Documentation for the Sunrise osu! server project, including setup guides and configuration options.',
57-
plugins: [starlightThemeRapide(), starlightImageZoom(), starlightScrollToTop()],
57+
plugins: [starlightLinksValidator(), starlightThemeRapide(), starlightImageZoom(), starlightScrollToTop(), ],
5858
customCss: [
5959
'./src/styles/custom.css'
6060
],

bun.lock

Lines changed: 24 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"mermaid": "^11.12.2",
1818
"sharp": "^0.34.2",
1919
"starlight-image-zoom": "^0.13.2",
20+
"starlight-links-validator": "0.19.2",
2021
"starlight-scroll-to-top": "^0.4.0",
2122
"starlight-theme-rapide": "^0.5.2"
2223
}

src/content/docs/deprecated/installation-without-orchestrator.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ This section will help you set up Sunrise server on your local environment.
1313
This installation guide was in use before the [Solar System](https://github.com/SunriseCommunity/Solar-System) was introduced. **It is now deprecated and not recommended for production use.**
1414

1515

16-
### **Please refer to the new [Installation](../getting-started/installation) guide for the recommended way to set up the server.**
16+
### **Please refer to the new [Installation](/getting-started/installation) guide for the recommended way to set up the server.**
1717

1818
You can still use this guide if you are interested in the old setup process or if you are running a development environment.
1919
:::
2020

2121
We are going to set up "Production" ready environment, which means we will use Docker to run the server and other components.
2222

23-
If you are more interested in development setup, please refer to the [Contributing](../contributing) section.
23+
If you are more interested in development setup, please refer to the [Contributing](/contributing) section.
2424

2525
## Prerequisites
2626

@@ -301,4 +301,4 @@ If you encounter any issues during the setup process, please check the following
301301

302302
Now that you have the server up and running, you can start exploring its features and capabilities.
303303

304-
If you would like to give you admin privileges to your account, or generally want to know how to manage the server, check out the [Configuration](../getting-started/configuration) section.
304+
If you would like to give you admin privileges to your account, or generally want to know how to manage the server, check out the [Configuration](/getting-started/configuration) section.

src/content/docs/getting-started/faq.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ This section will cover some of the most common questions about Sunrise, its fea
1010

1111
## How do I set up the server?
1212

13-
You can find the setup guide in the [Installation](./installation) section of the documentation. It covers everything from prerequisites to running the server.
13+
You can find the setup guide in the [Installation](/getting-started/installation) section of the documentation. It covers everything from prerequisites to running the server.
1414

1515
## How do I contribute to the project?
1616

17-
You can find the contribution guidelines in the [Contributing](../contributing) section of the documentation.
17+
You can find the contribution guidelines in the [Contributing](/contributing) section of the documentation.
1818

1919
## How do I report a bug or request a feature?
2020

src/content/docs/getting-started/installation.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ We are going to set up "Production" ready environment, for this we are going to
1010

1111
Solar System is an orchestration tool that simplifies the deployment and management of Sunrise and its related components using Docker. It provides easy setup and configuration for server administrators with versioning support.
1212

13-
If you are more interested in development setup, please refer to the [Contributing](../contributing) section.
13+
If you are more interested in development setup, please refer to the [Contributing](/contributing) section.
1414

1515
:::tip
1616
👀 We recommend watching the **[installation video guide](https://youtu.be/ukVc4anmtIs?si=ElITsNDIXw6ijxGP)** for a step-by-step walkthrough.
@@ -112,7 +112,7 @@ You may be prompted to run multiple scripts during setup. If you are using **Win
112112
:::note
113113
If you want Sunrise to use the Bancho API **(highly recommended)**, fill `OBSERVATORY_BANCHO_CLIENT_ID` and `OBSERVATORY_BANCHO_CLIENT_SECRET` in `.env`.
114114

115-
If you don't know how to get these values, follow the instructions in the [FAQ](./faq#where-can-i-get-bancho_client_id-and-bancho_client_secret) section.
115+
If you don't know how to get these values, follow the instructions in the [FAQ](/getting-started/faq#where-can-i-get-bancho_client_id-and-bancho_client_secret) section.
116116
:::
117117

118118
### 4. Running the Server
@@ -214,7 +214,7 @@ If you encounter any issues during the setup process, please check the following
214214

215215
Now that you have the server up and running, you can start exploring its features and capabilities.
216216

217-
Please follow the [Configuration](./configuration) section to learn how to manage the server.
217+
Please follow the [Configuration](/getting-started/configuration) section to learn how to manage the server.
218218

219219
You will learn how to:
220220
- Update website branding (logo, colors, etc.)

src/content/docs/getting-started/what-is-sunrise.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Sunrise is built with the following principles in mind:
6767

6868
We hope this gives you a better understanding of what Sunrise is and what it aims to achieve.
6969

70-
If you more interested in the technical details of how the server works, check out the [Contributing](../contributing) section.
70+
If you more interested in the technical details of how the server works, check out the [Contributing](/contributing) section.
7171

7272
Now, let's get started with setting up the server and exploring its features!
7373

src/content/docs/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ hero:
88
file: ../../assets/frontpage.png
99
actions:
1010
- text: Get Started
11-
link: getting-started/installation
11+
link: /getting-started/installation
1212
icon: right-arrow
1313
- text: What is Sunrise?
14-
link: getting-started/what-is-sunrise
14+
link: /getting-started/what-is-sunrise
1515
icon: external
1616
variant: minimal
1717

0 commit comments

Comments
 (0)