Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
Initial documentation site
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnsAnns committed Apr 8, 2024
1 parent bd17e6a commit 740962e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 34 deletions.
15 changes: 4 additions & 11 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,12 @@ import starlight from '@astrojs/starlight';
export default defineConfig({
integrations: [
starlight({
title: 'My Docs',
title: 'UNNAMED RIOT PROJECT',
sidebar: [
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', link: '/guides/example/' },
],
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
label: 'Basics',
autogenerate: { directory: 'basics' },
}
],
}),
],
Expand Down
6 changes: 6 additions & 0 deletions docs/src/content/docs/basics/example.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Example Guide
description: A guide in my new Starlight docs site.
---

This is an example page. I don't really have much to say, but I'm here to show you how to create a new page. 👍
11 changes: 0 additions & 11 deletions docs/src/content/docs/guides/example.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hero:
file: ../../assets/riot-logo-large.png
actions:
- text: Project Documentation
link: /docs/
link: /basics/example
icon: right-arrow
variant: primary
- text: Read Riot OS documentation
Expand Down
11 changes: 0 additions & 11 deletions docs/src/content/docs/reference/example.md

This file was deleted.

0 comments on commit 740962e

Please sign in to comment.