removed component link from playground. resolved weird typeerror
This commit is contained in:
parent
9aa9adb168
commit
8be237e3cc
|
@ -15,9 +15,9 @@ export default function starlightGhostCMS(userConfig?: StarlightGhostConfig): St
|
||||||
updateStarlightConfig({
|
updateStarlightConfig({
|
||||||
components: {
|
components: {
|
||||||
...starlightConfig.components,
|
...starlightConfig.components,
|
||||||
//...overrideStarlightComponent(starlightConfig.components, logger, 'MarkdownContent'),
|
...overrideStarlightComponent(starlightConfig.components, logger, 'MarkdownContent'),
|
||||||
//...overrideStarlightComponent(starlightConfig.components, logger, 'Sidebar'),
|
...overrideStarlightComponent(starlightConfig.components, logger, 'Sidebar'),
|
||||||
//...overrideStarlightComponent(starlightConfig.components, logger, "SiteTitle"),
|
...overrideStarlightComponent(starlightConfig.components, logger, "SiteTitle"),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -8,11 +8,6 @@ export default defineConfig({
|
||||||
starlight({
|
starlight({
|
||||||
title: 'My Docs',
|
title: 'My Docs',
|
||||||
plugins: [starlightGhostCMS()],
|
plugins: [starlightGhostCMS()],
|
||||||
components: {
|
|
||||||
Sidebar: '@matthiesenxyz/starlight-ghostcms/overrides/Sidebar.astro',
|
|
||||||
MarkdownContent: '@matthiesenxyz/starlight-ghostcms/overrides/MarkdownContent.astro',
|
|
||||||
SiteTitle: '@matthiesenxyz/starlight-ghostcms/overrides/SiteTitle.astro'
|
|
||||||
},
|
|
||||||
social: {
|
social: {
|
||||||
github: 'https://github.com/withastro/starlight',
|
github: 'https://github.com/withastro/starlight',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue