Skip to content

Commit eecdc30

Browse files
committed
feat: Move some docs to new docs folder and create redirects from old paths
1 parent e6063d0 commit eecdc30

4 files changed

Lines changed: 10 additions & 1 deletion

File tree

astro.config.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ import starlightLinksValidator from 'starlight-links-validator';
1010
// https://astro.build/config
1111
export default defineConfig({
1212
site: 'https://docs.sunrize.uk',
13+
redirects: {
14+
// These are for legacy links for history reasons.
15+
'/getting-started/faq': '/docs/faq',
16+
'/getting-started/configuration': '/docs/configuration',
17+
},
1318
integrations: [
1419
starlight({
1520
favicon: '/favicon.svg',
@@ -40,6 +45,10 @@ export default defineConfig({
4045
label: 'Getting started',
4146
autogenerate: { directory: 'getting-started' },
4247
},
48+
{
49+
label: 'Docs',
50+
autogenerate: { directory: 'docs' },
51+
},
4352
{
4453
label: 'Upgrading',
4554
autogenerate: { directory: 'upgrading' },
File renamed without changes.
File renamed without changes.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Installation
2+
title: Installation - Production Setup
33
sidebar:
44
order: 2
55
---

0 commit comments

Comments
 (0)