mirror of
https://github.com/kyantech/Palmr.git
synced 2025-10-24 08:33:43 +00:00
- Renamed the project to "palmr-docs" and updated version to "2.1-beta" in package.json. - Added new architecture and user management documentation for the 2.1-beta version. - Updated meta.json files to include the new version and pages. - Introduced a version warning component for deprecated documentation. - Enhanced layout and styling for better user experience. - Added new assets including logos and banners for the updated version.
17 lines
481 B
TypeScript
17 lines
481 B
TypeScript
import { docs } from "@/.source";
|
|
import { loader } from "fumadocs-core/source";
|
|
import { icons } from "lucide-react";
|
|
import { createElement } from "react";
|
|
|
|
// See https://fumadocs.vercel.app/docs/headless/source-api for more info
|
|
export const source = loader({
|
|
// it assigns a URL to your pages
|
|
baseUrl: "/docs",
|
|
source: docs.toFumadocsSource(),
|
|
icon(icon) {
|
|
if (icon && icon in icons) {
|
|
return createElement(icons[icon as keyof typeof icons]);
|
|
}
|
|
},
|
|
});
|