mirror of
https://github.com/luxfi/docs.git
synced 2026-09-24 00:25:32 +00:00
Single-app → multi-app monorepo architecture: - apps/docs/ — Main Lux docs (replaces root-level app) - apps/bootnode-docs/ — Bootnode service - apps/bridge-docs/ — Bridge service - apps/cli-docs/ — CLI tool - apps/explorer-docs/ — Block explorer - apps/hsm-docs/ — Hardware security module - apps/indexer-docs/ — Blockchain indexer - apps/kms-docs/ — Key management service - apps/mpc-docs/ — Multi-party computation - apps/netrunner-docs/ — Network testing - apps/sdk-docs/ — SDK documentation - apps/wallet-docs/ — Wallet service New: pnpm-workspace.yaml, turbo.json, per-app configs Updated: Dockerfile (filter build), .gitignore (.turbo/, .docs/) Root package.json stripped to workspace orchestrator
17 lines
441 B
TypeScript
17 lines
441 B
TypeScript
import {
|
|
type InferMetaType,
|
|
type InferPageType,
|
|
loader,
|
|
} from '@hanzo/docs/core/source';
|
|
import { docs } from '@hanzo/mdx:collections/server';
|
|
import { lucideIconsPlugin } from '@hanzo/docs/core/source/lucide-icons';
|
|
|
|
export const source = loader({
|
|
source: docs.toSource(),
|
|
baseUrl: '/docs',
|
|
plugins: [lucideIconsPlugin()],
|
|
});
|
|
|
|
export type Page = InferPageType<typeof source>;
|
|
export type Meta = InferMetaType<typeof source>;
|