Skip to content

Commit

Permalink
Fix base url for GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
bbecquet committed Feb 14, 2025
1 parent 685f804 commit 75cbce2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion docs/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { defineConfig } from "astro/config";
import starlightClientMermaid from "@pasqal-io/starlight-client-mermaid";

export default defineConfig({
site: "https://pasqal-io.github.io",
base: "starlight-client-mermaid",
integrations: [
starlight({
editLink: {
Expand All @@ -11,7 +13,10 @@ export default defineConfig({
},
plugins: [starlightClientMermaid()],
sidebar: [
{ label: "Usage", items: ["getting-started", "configuration"] },
{
label: "Usage",
items: ["getting-started", "configuration"],
},
"demo",
],
social: {
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import { Steps, Tabs, TabItem } from '@astrojs/starlight/components'

</Tabs>

2. Configure the plugin in your [Starlight configuration](https://starlight.astro.build/reference/configuration/#plugins) in the `astro.config.mjs` file. See the [plugin configuration](/configuration) page for available options.
2. Configure the plugin in your [Starlight configuration](https://starlight.astro.build/reference/configuration/#plugins) in the `astro.config.mjs` file. See the [plugin configuration](./configuration) page for available options.

```diff lang="js"
// astro.config.mjs
Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ hero:
html: '<span style="font-size:8rem">💻🧜‍♀️</span>'
actions:
- text: Get Started
link: /getting-started/
link: ./getting-started
icon: rocket
- text: Demo
variant: minimal
link: /demo
link: ./demo
icon: right-arrow
---

Expand Down

0 comments on commit 75cbce2

Please sign in to comment.