mirror of
https://github.com/kyantech/Palmr.git
synced 2025-11-04 22:13:33 +00:00
feat: start update documentation for Palmr v2.1-beta release
- 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.
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
import { docs } from '@/.source';
|
||||
import { loader } from 'fumadocs-core/source';
|
||||
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',
|
||||
baseUrl: "/docs",
|
||||
source: docs.toFumadocsSource(),
|
||||
icon(icon) {
|
||||
if (icon && icon in icons) {
|
||||
return createElement(icons[icon as keyof typeof icons]);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user