Skip to content

Commit 6e517c7

Browse files
authored
Replace Nextra with Starlight (#20)
1 parent 56d666b commit 6e517c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1310
-1611
lines changed

.editorconfig

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ charset = utf-8
55
end_of_line = lf
66
trim_trailing_whitespace = true
77
insert_final_newline = true
8-
indent_style = tab
9-
indent_size = 4
10-
tab_width = 4
118

12-
[*.{yml,yaml,rs}]
9+
[*.{json,jsonc,json5}]
1310
indent_style = space
11+
indent_size = 4
1412

15-
[*.{yml,yaml}]
13+
[*.{yml,yaml,md}]
14+
indent_style = space
1615
indent_size = 2

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Upload artifact
4040
uses: actions/upload-pages-artifact@v3
4141
with:
42-
path: ./out
42+
path: ./dist
4343

4444
deploy:
4545
name: "Deploy"

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/.DS_Store
22
/node_modules
33
/temp
4-
/out
5-
/.next
4+
/dist
5+
/.astro
66
/.env
77

88
/**/.DS_Store
99
/**/node_modules
1010
/**/temp
11-
/**/out
12-
/**/.next
11+
/**/dist
12+
/**/.astro
1313
/**/.env

app/[[...mdxPath]]/page.jsx

Lines changed: 0 additions & 23 deletions
This file was deleted.

app/layout.jsx

Lines changed: 0 additions & 51 deletions
This file was deleted.

astro.config.mjs

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
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: "Lune",
10+
logo: {
11+
src: "./src/assets/logo.svg",
12+
replacesTitle: true,
13+
},
14+
social: [
15+
{
16+
icon: "github",
17+
label: "GitHub",
18+
href: "https://github.com/lune-org/lune",
19+
},
20+
],
21+
sidebar: [
22+
{
23+
label: "Getting Started",
24+
items: [
25+
{
26+
label: "Installation",
27+
slug: "getting-started/1-installation",
28+
},
29+
{
30+
label: "Command-Line Usage",
31+
slug: "getting-started/2-command-line-usage",
32+
},
33+
{
34+
label: "Editor Setup",
35+
slug: "getting-started/3-editor-setup",
36+
},
37+
{
38+
label: "Security",
39+
slug: "getting-started/4-security",
40+
},
41+
],
42+
},
43+
{
44+
label: "The Lune Book",
45+
items: [
46+
{
47+
label: "1 ∙ Hello, Lune!",
48+
slug: "the-book/1-hello-lune",
49+
},
50+
{
51+
label: "2 ∙ Built-In Libraries",
52+
slug: "the-book/2-built-in-libraries",
53+
},
54+
{
55+
label: "3 ∙ Standard I/O",
56+
slug: "the-book/3-standard-io",
57+
},
58+
{
59+
label: "4 ∙ Script Arguments",
60+
slug: "the-book/4-script-arguments",
61+
},
62+
{
63+
label: "5 ∙ Network Requests",
64+
slug: "the-book/5-network-requests",
65+
},
66+
{
67+
label: "6 ∙ Files & Directories",
68+
slug: "the-book/6-files-and-directories",
69+
},
70+
{
71+
label: "7 ∙ Environment Variables",
72+
slug: "the-book/7-environment-variables",
73+
},
74+
{
75+
label: "8 ∙ Modules",
76+
slug: "the-book/8-modules",
77+
},
78+
{
79+
label: "9 ∙ The Task Scheduler",
80+
slug: "the-book/9-task-scheduler",
81+
},
82+
{
83+
label: "10 ∙ Spawning Processes",
84+
slug: "the-book/10-spawning-processes",
85+
},
86+
],
87+
},
88+
{
89+
label: "Roblox",
90+
items: [
91+
{
92+
label: "Introduction",
93+
slug: "roblox/1-introduction",
94+
},
95+
{
96+
label: "Example Scripts",
97+
slug: "roblox/2-examples",
98+
},
99+
{
100+
label: "Remodel Migration",
101+
slug: "roblox/3-remodel-migration",
102+
},
103+
{
104+
label: "API Status",
105+
slug: "roblox/4-api-status",
106+
},
107+
],
108+
},
109+
{
110+
label: "API Reference",
111+
autogenerate: { directory: "api-reference" },
112+
},
113+
],
114+
}),
115+
],
116+
});

bun.lockb

-12.2 KB
Binary file not shown.

content/_meta.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

content/api-reference/_meta.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)