+ PyralOS Wiki
+
+ The up-and-coming mobile Linux OS
+
+
+
+ Learn more about the project
+
+
+ Read the introduction
+
+
+
+ );
+}
diff --git a/wiki/app/api/search/route.ts b/wiki/app/api/search/route.ts
new file mode 100644
index 0000000..3393da6
--- /dev/null
+++ b/wiki/app/api/search/route.ts
@@ -0,0 +1,8 @@
+import { source } from '@/lib/source';
+import { createFromSource } from 'fumadocs-core/search/server';
+
+export const revalidate = false;
+
+export const { staticGET: GET } = createFromSource(source, {
+ language: 'english',
+});
diff --git a/wiki/app/docs/[[...slug]]/page.tsx b/wiki/app/docs/[[...slug]]/page.tsx
new file mode 100644
index 0000000..408c6f6
--- /dev/null
+++ b/wiki/app/docs/[[...slug]]/page.tsx
@@ -0,0 +1,63 @@
+import { source } from '@/lib/source';
+import {
+ DocsBody,
+ DocsDescription,
+ DocsPage,
+ DocsTitle,
+ MarkdownCopyButton,
+ ViewOptionsPopover,
+} from 'fumadocs-ui/layouts/docs/page';
+import { notFound } from 'next/navigation';
+import { getMDXComponents } from '@/components/mdx';
+import type { Metadata } from 'next';
+import { createRelativeLink } from 'fumadocs-ui/mdx';
+import { basePath, getPageImageUrl, gitConfig } from '@/lib/shared';
+
+export default async function Page(props: PageProps<'/docs/[[...slug]]'>) {
+ const params = await props.params;
+ const page = source.getPage(params.slug);
+ if (!page) notFound();
+
+ const MDX = page.data.body;
+ const markdownUrl = `${basePath}/llms.mdx${page.url}.md`;
+
+ return (
+