Skip to content

Commit c6034d4

Browse files
Skullians0xnim
andcommitted
Migrated to Starlight [Astro] - thanks nim!
Co-Authored-By: Niklas Wojtkowiak <[email protected]>
1 parent 5affee1 commit c6034d4

20 files changed

+7079
-1756
lines changed

Diff for: .gitignore

+25-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,26 @@
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
17
node_modules/
2-
cache/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store
22+
23+
.vscode/
24+
.idea/
25+
26+
bun.lockb

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## This work is licensed under a CC BY 4.0 licence.

Diff for: astro.config.mjs

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// @ts-check
2+
import { defineConfig } from 'astro/config';
3+
import starlight from '@astrojs/starlight';
4+
5+
// https://astro.build/config
6+
export default defineConfig({
7+
integrations: [
8+
starlight({
9+
title: 'FerrumC Docs',
10+
social: {
11+
discord: 'https://discord.gg/qT5J8EMjwk',
12+
github: 'https://github.com/ferrumc-rs/ferrumc',
13+
},
14+
sidebar: [
15+
{
16+
label: 'Start Here',
17+
items: [
18+
{ label: 'Getting Started', slug: 'start/getting_started' },
19+
{ label: 'Migrate', slug: 'start/migrate' },
20+
],
21+
},
22+
{
23+
label: 'About',
24+
items: [
25+
{label: 'Introduction', slug: 'about/introduction'},
26+
{label: 'FAQ', slug: 'about/faq'},
27+
{label: 'Comparison', slug: 'about/comparison'},
28+
],
29+
},
30+
],
31+
favicon: "/favicon.ico",
32+
}),
33+
],
34+
});

Diff for: docs/.vitepress/config.mts

-28
This file was deleted.

Diff for: docs/.vitepress/theme/index.ts

-15
This file was deleted.

Diff for: docs/.vitepress/theme/style.css

-139
This file was deleted.

Diff for: docs/index.md

-37
This file was deleted.

0 commit comments

Comments
 (0)