Skip to content

Commit

Permalink
Merge pull request #5 from asxrow66/main
Browse files Browse the repository at this point in the history
Added multiple things.. check commits.
  • Loading branch information
jeremybosma authored Jun 18, 2024
2 parents 33e456c + 56b70b5 commit 85f5708
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 49 deletions.
70 changes: 40 additions & 30 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,35 +1,45 @@
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';

import sentry from "@sentry/astro";
import spotlightjs from "@spotlightjs/astro";

// https://astro.build/config
export default defineConfig({
site: 'https://docs.getmythic.app',
integrations: [
starlight({
title: 'Mythic Docs',
social: {
github: 'https://github.com/MythicApp/Mythic',
discord: 'https://discord.gg/GwHgX3QWK3',
},
sidebar: [
{
label: 'Getting Started',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Installation', link: '/guides/installation/' },
{ label: 'Setup', link: '/guides/setup'},
{ label: 'Navigating the Mythic UI', link: '/guides/nav'},
{ label: 'Installing Games', link: '/guides/gameinstall'},
{ label: 'Importing Games', link: '/guides/gameimport'},
],
},
{
label: 'Advanced Options',
items: [
{ label: 'Creating a bottle', link: '/advoptions/bottlecreate/'},
]
},
],
}),
],
});
site: 'https://docs.getmythic.app/guides/installation',
integrations: [starlight({
title: 'Mythic Docs',
social: {
github: 'https://github.com/MythicApp/Mythic',
discord: 'https://discord.gg/GwHgX3QWK3',
'x.com': 'https://x.com/mythicapp'
},
sidebar: [{
label: 'Getting Started',
items: [
// Each item here is one entry in the navigation menu.
{
label: 'Installation',
link: '/guides/installation/'
}, {
label: 'Setup',
link: '/guides/setup'
}, {
label: 'Navigating the Mythic UI',
link: '/guides/nav'
}, {
label: 'Installing Games',
link: '/guides/gameinstall'
}, {
label: 'Importing Games',
link: '/guides/gameimport'
}]
}, {
label: 'Advanced Options',
items: [{
label: 'Creating a bottle',
link: '/advoptions/bottlecreate/'
}]
}]
}), sentry(), spotlightjs()]
});
19 changes: 0 additions & 19 deletions src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,3 @@ hero:
link: https://github.com/MythicApp/Mythic/releases
icon: external
---

import { Card, CardGrid } from '@astrojs/starlight/components';

## Next steps

<CardGrid stagger>
<Card title="Update content" icon="pencil">
Edit `src/content/docs/index.mdx` to see this page change.
</Card>
<Card title="Add new content" icon="add-document">
Add Markdown or MDX files to `src/content/docs` to create new pages.
</Card>
<Card title="Configure your site" icon="setting">
Edit your `sidebar` and other config in `astro.config.mjs`.
</Card>
<Card title="Read the docs" icon="open-book">
Learn more in [the Starlight Docs](https://starlight.astro.build/).
</Card>
</CardGrid>

0 comments on commit 85f5708

Please sign in to comment.