Skip to content

Commit f33d1c1

Browse files
committed
chore: fix docs
1 parent fe9a547 commit f33d1c1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/astro.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import starlight from '@astrojs/starlight'
2+
import openscriptTheme from '@openscript-ch/starlight-theme'
23
import { defineConfig } from 'astro/config'
3-
import starlightThemeOpenscript from 'starlight-theme-openscript'
44

55
export default defineConfig({
66
integrations: [
77
starlight({
88
editLink: {
99
baseUrl: 'https://github.com/openscript-ch/starlight-theme/edit/main/docs/',
1010
},
11-
plugins: [starlightThemeOpenscript()],
11+
plugins: [openscriptTheme()],
1212
sidebar: [
1313
{
1414
label: 'Start Here',

packages/starlight-theme-openscript/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ A theme for documenting classes and courses. This is a fork of the [Starlight Th
1313
1. Add the theme to your project:
1414

1515
```bash
16-
pnpm add starlight-theme-openscript
16+
pnpm add @openscript-ch/starlight-theme
1717
```
1818

1919
1. Update your `starlight.config.mjs` to use the theme:
2020

2121
```javascript
2222
import starlight from '@astrojs/starlight'
23+
import openscriptTheme from '@openscript-ch/starlight-theme'
2324
import { defineConfig } from 'astro/config'
24-
import starlightThemeOpenscript from 'starlight-theme-openscript'
2525

2626
export default defineConfig({
2727
integrations: [
2828
starlight({
29-
plugins: [starlightThemeOpenscript()],
29+
plugins: [openscriptTheme()],
3030
title: 'My Course',
3131
}),
3232
],

0 commit comments

Comments
 (0)