Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjennings committed Nov 23, 2023
1 parent 4f04ac5 commit 342f8f4
Show file tree
Hide file tree
Showing 5 changed files with 1,911 additions and 7,911 deletions.
7 changes: 6 additions & 1 deletion docs/src/components/ComponentAPI.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import { ComponentParser } from 'sveld'
import sveld from 'sveld'
import path from 'path'
import sveltePreprocess from 'svelte-preprocess'
import * as svelte from 'svelte/compiler'
Expand All @@ -8,6 +8,11 @@ import dashify from 'dashify'
import { Code } from 'astro:components'
import { marked } from 'marked'
// dumb workaround for messed up types
const { ComponentParser } = sveld as any as {
ComponentParser: typeof import('sveld').ComponentParser
}
const __dirname = path.dirname(new URL(import.meta.url).pathname)
const componentPath = path.resolve(
__dirname,
Expand Down
18 changes: 0 additions & 18 deletions docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,3 @@ hero:
variant: primary
---

import { Card, CardGrid } from '@astrojs/starlight/components'

{/\* ## Next steps

<CardGrid stagger>
<Card title="Update content" icon="pencil">
Edit `src/content/docs/index.mdx` to see this page change.
</Card>
<Card title="Add new content" icon="add-document">
Add Markdown or MDX files to `src/content/docs` to create new pages.
</Card>
<Card title="Configure your site" icon="setting">
Edit your `sidebar` and other config in `astro.config.mjs`.
</Card>
<Card title="Read the docs" icon="open-book">
Learn more in [the Starlight Docs](https://starlight.astro.build/).
</Card>
</CardGrid> */}
3 changes: 2 additions & 1 deletion docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "astro/tsconfigs/strict",
"include": ["src/**/*"]
"include": ["src/**/*"],
"compilerOptions": {}
}
26 changes: 1 addition & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,49 +20,25 @@
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@steeze-ui/heroicons": "^1.1.1",
"@steeze-ui/svelte-icon": "^1.3.1",
"@sveltejs/kit": "^1.27.6",
"@sveltejs/package": "^2.2.3",
"@tailwindcss/typography": "^0.5.2",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"autoprefixer": "^10.4.4",
"css-tree": "^2.3.1",
"dashify": "^2.0.0",
"eslint": "^8.11.0",
"eslint-plugin-svelte": "^2.35.0",
"fathom-client": "^3.4.1",
"husky": "^7.0.0",
"just-camel-case": "^6.0.1",
"lint-staged": "^15.1.0",
"mdsvex": "^0.11.0",
"mdsvex-sveld": "^1.0.3",
"mdsvexamples": "^0.4.1",
"mousetrap": "^1.6.5",
"pixi.js": "^7.3.2",
"postcss": "^8.4.12",
"postcss-load-config": "^3.1.3",
"prettier": "^3.1.0",
"prettier-plugin-svelte": "^3.1.0",
"prism-svelte": "^0.5.0",
"prismjs": "^1.27.0",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.0.1",
"release-it": "^17.0.0",
"sveld": "^0.16.0",
"svelte": "^4.2.5",
"svelte-check": "^3.6.0",
"svelte-focus-trap": "^1.2.0",
"svelte-intersection-observer": "^0.10.0",
"svelte-preprocess": "^5.1.0",
"svelte2tsx": "^0.6.25",
"tailwindcss": "^3.3.5",
"tslib": "^2.3.1",
"typescript": "^5.2.0",
"unist-util-visit": "^4.1.0",
"vite": "^4.0.0",
"vite-plugin-sveld": "^1.1.0"
"sveld": "^0.19.1"
},
"peerDependencies": {
"pixi.js": ">=7.3.2",
Expand Down
Loading

0 comments on commit 342f8f4

Please sign in to comment.