feat: move docs

This commit is contained in:
tresabhi committed 2025-01-16 20:23:39 -06:00
1 parent a4828774ca
commit bcde319ac1
4 files changed
+9 -6

No files matched your search

@@ -1,5 +1,5 @@
import { Markdown } from '../../../../components/Markdown';
import { PageWrapper } from '../../../../components/PageWrapper';
import { Markdown } from '../../../../../components/Markdown';
import { PageWrapper } from '../../../../../components/PageWrapper';
interface PageProps {
content: string;
@@ -1,7 +1,7 @@
---
import type { GetStaticPaths } from 'astro';
import { readFile } from 'fs/promises';
import BaseLayout from '../../../../layouts/BaseLayout.astro';
import BaseLayout from '../../../../../layouts/BaseLayout.astro';
import { Page } from './_index';
export const getStaticPaths = (async () => {
@@ -2,8 +2,10 @@
import { MagicWandIcon, StarFilledIcon } from '@radix-ui/react-icons';
import { Flex, Heading, Link } from '@radix-ui/themes';
import { compareVersions } from 'compare-versions';
import { PageWrapper } from '../../../components/PageWrapper';
import BaseLayout from '../../../layouts/BaseLayout.astro';
import { PageWrapper } from '../../../../components/PageWrapper';
import BaseLayout from '../../../../layouts/BaseLayout.astro';
export { getStaticPaths } from '../../index.astro';
// this can't be used in template literal :(
const ROOT = '../../../../../../docs/changelogs/';
+2 -1
View File
@@ -2,6 +2,7 @@
"extends": ["../../tsconfig.json", "astro/tsconfigs/base"],
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react"
"jsxImportSource": "react",
"types": ["vite/client"]
}
}