-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add basics docs using starlight taking most things from README
- Loading branch information
Showing
22 changed files
with
8,931 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# build output | ||
dist/ | ||
# generated types | ||
.astro/ | ||
|
||
# dependencies | ||
node_modules/ | ||
|
||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
|
||
# environment variables | ||
.env | ||
.env.production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import starlight from '@astrojs/starlight'; | ||
import { defineConfig } from 'astro/config'; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
integrations: [ | ||
starlight({ | ||
title: 'showbridge', | ||
favicon: '/favicon.ico', | ||
social: { | ||
github: 'https://github.com/jwetzell/showbridge', | ||
}, | ||
sidebar: [ | ||
{ | ||
label: 'showbridge', | ||
autogenerate: { directory: '/showbridge' }, | ||
}, | ||
{ | ||
label: 'Guides', | ||
autogenerate: { directory: 'guides' }, | ||
}, | ||
{ | ||
label: 'Reference', | ||
autogenerate: { directory: 'reference' }, | ||
}, | ||
{ label: 'Demo', link: 'https://demo.showbridge.io/', attrs: { target: '_blank' } }, | ||
{ | ||
label: 'More Docs', | ||
items: [ | ||
{ label: 'Lib JSDocs', link: 'https://docs.showbridge.io/lib/', attrs: { target: '_blank' } }, | ||
{ | ||
label: 'Config JSON Schema', | ||
link: 'https://docs.showbridge.io/schema/config', | ||
attrs: { target: '_blank' }, | ||
}, | ||
], | ||
}, | ||
], | ||
}), | ||
], | ||
}); |
Oops, something went wrong.