-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: rewrite docs from raw markdown to astro+starlight static website
- Loading branch information
1 parent
a7dcb3e
commit 71f7358
Showing
20 changed files
with
5,676 additions
and
309 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,21 @@ | ||
# 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 | ||
|
||
# macOS-specific files | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
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,25 @@ | ||
import {defineConfig} from "astro/config"; | ||
import starlight from "@astrojs/starlight"; | ||
|
||
export default defineConfig({ | ||
site: "https://matthewwid.github.io", | ||
integrations: [ | ||
starlight({ | ||
title: "Better SSE", | ||
social: { | ||
github: "https://github.com/MatthewWid/better-sse", | ||
}, | ||
sidebar: [ | ||
{ | ||
label: "Guides", | ||
autogenerate: {directory: "guides"}, | ||
}, | ||
{ | ||
label: "Reference", | ||
autogenerate: {directory: "reference"}, | ||
}, | ||
], | ||
customCss: ["./src/styles/custom.css"], | ||
}), | ||
], | ||
}); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,19 @@ | ||
{ | ||
"name": "better-sse-docs", | ||
"version": "0.1.0", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "astro dev", | ||
"start": "astro dev", | ||
"build": "astro check && astro build", | ||
"preview": "astro preview", | ||
"astro": "astro" | ||
}, | ||
"dependencies": { | ||
"@astrojs/check": "^0.9.4", | ||
"@astrojs/starlight": "^0.28.3", | ||
"astro": "^4.16.7", | ||
"sharp": "^0.32.6", | ||
"typescript": "^5.6.3" | ||
} | ||
} |
Oops, something went wrong.