mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
feat: move docs
This commit is contained in:
1 parent
a4828774ca
commit
bcde319ac1
4 files changed
+9
-6
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
import { Markdown } from '../../../../components/Markdown';
|
import { Markdown } from '../../../../../components/Markdown';
|
||||||
import { PageWrapper } from '../../../../components/PageWrapper';
|
import { PageWrapper } from '../../../../../components/PageWrapper';
|
||||||
|
|
||||||
interface PageProps {
|
interface PageProps {
|
||||||
content: string;
|
content: string;
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
import type { GetStaticPaths } from 'astro';
|
import type { GetStaticPaths } from 'astro';
|
||||||
import { readFile } from 'fs/promises';
|
import { readFile } from 'fs/promises';
|
||||||
import BaseLayout from '../../../../layouts/BaseLayout.astro';
|
import BaseLayout from '../../../../../layouts/BaseLayout.astro';
|
||||||
import { Page } from './_index';
|
import { Page } from './_index';
|
||||||
|
|
||||||
export const getStaticPaths = (async () => {
|
export const getStaticPaths = (async () => {
|
||||||
+4
-2
@@ -2,8 +2,10 @@
|
|||||||
import { MagicWandIcon, StarFilledIcon } from '@radix-ui/react-icons';
|
import { MagicWandIcon, StarFilledIcon } from '@radix-ui/react-icons';
|
||||||
import { Flex, Heading, Link } from '@radix-ui/themes';
|
import { Flex, Heading, Link } from '@radix-ui/themes';
|
||||||
import { compareVersions } from 'compare-versions';
|
import { compareVersions } from 'compare-versions';
|
||||||
import { PageWrapper } from '../../../components/PageWrapper';
|
import { PageWrapper } from '../../../../components/PageWrapper';
|
||||||
import BaseLayout from '../../../layouts/BaseLayout.astro';
|
import BaseLayout from '../../../../layouts/BaseLayout.astro';
|
||||||
|
|
||||||
|
export { getStaticPaths } from '../../index.astro';
|
||||||
|
|
||||||
// this can't be used in template literal :(
|
// this can't be used in template literal :(
|
||||||
const ROOT = '../../../../../../docs/changelogs/';
|
const ROOT = '../../../../../../docs/changelogs/';
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
"extends": ["../../tsconfig.json", "astro/tsconfigs/base"],
|
"extends": ["../../tsconfig.json", "astro/tsconfigs/base"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"jsxImportSource": "react"
|
"jsxImportSource": "react",
|
||||||
|
"types": ["vite/client"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user