Skip to content

Commit 6e3eb0a

Browse files
Add placeholder pages and structure
1 parent 4492dd7 commit 6e3eb0a

File tree

17 files changed

+72
-66
lines changed

17 files changed

+72
-66
lines changed

articles/main/privacy.md

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

articles/official-guides/getting-started.md

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

web/astro.config.mjs

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,20 @@ export default defineConfig({
1111
title: 'Multi Theft Auto: Wiki',
1212
sidebar: [
1313
{
14-
label: 'Guides',
15-
items: [
16-
// Each item here is one entry in the navigation menu.
17-
{ label: 'Example Guide', slug: 'guides/example' },
18-
],
14+
slug: 'introduction',
1915
},
2016
{
21-
label: 'Reference',
22-
autogenerate: { directory: 'reference' },
17+
label: 'Lua API Reference',
18+
items: [
19+
{slug: 'Client_Scripting_Functions'},
20+
{slug: 'Client_Scripting_Events'},
21+
{slug: 'Server_Scripting_Functions'},
22+
{slug: 'Server_Scripting_Events'},
23+
{slug: 'Shared_Scripting_Functions'},
24+
// {slug: 'Useful_Functions'},
25+
{slug: 'Element'},
26+
{slug: 'Element_tree'},
27+
]
2328
},
2429
],
2530
}),

web/src/content/docs/guides/example.md

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

web/src/content/docs/guides/official/.keep

Whitespace-only changes.

web/src/content/docs/index.mdx

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,25 @@
11
---
2-
title: Welcome to Starlight
3-
description: Get started building your docs site with Starlight.
2+
title: "Welcome"
3+
description: "The new knowledge base of Multi Theft Auto"
44
template: splash
55
hero:
6-
tagline: Congrats on setting up a new Starlight project!
6+
tagline: "This new Multi Theft Auto: Wiki is currently under construction!"
77
image:
88
file: ../../assets/houston.webp
99
actions:
10-
- text: Example Guide
11-
link: /guides/example/
10+
- text: Get Started
11+
link: /introduction
1212
icon: right-arrow
13-
- text: Read the Starlight docs
14-
link: https://starlight.astro.build
13+
- text: Visit the old Wiki
14+
link: https://wiki.multitheftauto.com
1515
icon: external
1616
variant: minimal
17+
attrs:
18+
target: _blank
19+
- text: Contribute on GitHub
20+
link: https://github.com/multitheftauto/wiki.multitheftauto.com
21+
icon: github
22+
variant: minimal
23+
attrs:
24+
target: _blank
1725
---
18-
19-
import { Card, CardGrid } from '@astrojs/starlight/components';
20-
21-
## Next steps
22-
23-
<CardGrid stagger>
24-
<Card title="Update content" icon="pencil">
25-
Edit `src/content/docs/index.mdx` to see this page change.
26-
</Card>
27-
<Card title="Add new content" icon="add-document">
28-
Add Markdown or MDX files to `src/content/docs` to create new pages.
29-
</Card>
30-
<Card title="Configure your site" icon="setting">
31-
Edit your `sidebar` and other config in `astro.config.mjs`.
32-
</Card>
33-
<Card title="Read the docs" icon="open-book">
34-
Learn more in [the Starlight Docs](https://starlight.astro.build/).
35-
</Card>
36-
</CardGrid>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Introduction
3+
slug: introduction
4+
---
5+
6+
WIP
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: OOP Introduction
3+
slug: OOP_Introduction
34
---
45

56
This is a scripting tutorial explaining to you what object orientated programming is and teaching you how to use the OOP features of MTA.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Element Tree
3+
slug: Element_tree
4+
---
5+
6+
TODO

0 commit comments

Comments
 (0)