Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzolewis committed May 21, 2024
1 parent 7d2b7f1 commit eda843a
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 10 deletions.
10 changes: 4 additions & 6 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightUtils from "@lorenzo_lewis/starlight-utils";
import starlightLinksValidatorPlugin from "starlight-links-validator";

// https://astro.build/config
Expand All @@ -15,15 +14,14 @@ export default defineConfig({
sidebar: [
{
label: "Docs",
autogenerate: { directory: "docs" },
autogenerate: { directory: "/docs" },
},
{
label: "Samples",
autogenerate: { directory: "sample" },
badge: "Demo",
label: "References",
autogenerate: { directory: "/references" },
},
],
plugins: [starlightUtils(), starlightLinksValidatorPlugin()],
plugins: [starlightLinksValidatorPlugin()],
}),
],
});
2 changes: 1 addition & 1 deletion docs/src/content/docs/_quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ import { PackageManagers } from "starlight-package-managers";
});
```

4. All done! ✨
4. Go to the [Configuration Guide](/configuration) to continue setting up! ✨

</Steps>
File renamed without changes.
3 changes: 3 additions & 0 deletions docs/src/content/docs/docs/configuration.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Configuration
---
3 changes: 3 additions & 0 deletions docs/src/content/docs/docs/recommended.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Recommended Plugins
---
16 changes: 13 additions & 3 deletions docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
---
title: 🧰 Starlight Utils
description: Enable multiple sidebars with your Starlight site.
description: A collection of utilities to build on top of your 🌟 Starlight site.
tableOfContents: false
template: splash
hero:
tagline: Enable multiple sidebars with your Starlight site.
tagline: A collection of utilities to build on top of your 🌟 Starlight site.
image:
file: ../../assets/houston.webp
actions:
- text: Get Started
link: /docs/
link: /docs
icon: right-arrow
variant: primary
---

import { LinkCard, CardGrid } from "@astrojs/starlight/components";

<CardGrid stagger>
<LinkCard />
<LinkCard />
<LinkCard />
</CardGrid>

import QuickStart from "./_quick-start.mdx";

## Quick Start
Expand Down
File renamed without changes.
5 changes: 5 additions & 0 deletions docs/src/content/docs/references/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: References
sidebar:
order: 1
---

0 comments on commit eda843a

Please sign in to comment.