File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/starlight-theme-openscript Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11import starlight from '@astrojs/starlight'
2+ import openscriptTheme from '@openscript-ch/starlight-theme'
23import { defineConfig } from 'astro/config'
3- import starlightThemeOpenscript from 'starlight-theme-openscript'
44
55export 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' ,
Original file line number Diff line number Diff line change @@ -13,20 +13,20 @@ A theme for documenting classes and courses. This is a fork of the [Starlight Th
13131 . Add the theme to your project:
1414
1515 ``` bash
16- pnpm add starlight-theme-openscript
16+ pnpm add @openscript-ch/ starlight-theme
1717 ```
1818
19191 . 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 ],
You can’t perform that action at this time.
0 commit comments