mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-27 09:19:53 +00:00
Scaffold cloned from apps/zen-docs. Port 3008. Content authored from the settled state of ~/work/lux/pulsar/main (README, EC README, bridge doc, extraction roadmaps, NIST-SUBMISSION, SUBMISSION, CHANGELOG, SECURITY, postmortem). Math rendered with KaTeX. Information architecture: intro -> getting-started -> protocol -> reference -> proofs -> security -> nist-mptc -> postmortem -> changelog. Build clean: pnpm --filter=pulsar-docs build && pnpm --filter=pulsar-docs dev.
16 lines
338 B
TypeScript
16 lines
338 B
TypeScript
import type { MDXComponents } from 'mdx/types';
|
|
import defaultComponents from '@hanzo/docs-ui/mdx';
|
|
|
|
export function useMDXComponents(components: MDXComponents): MDXComponents {
|
|
return {
|
|
...defaultComponents,
|
|
...components,
|
|
};
|
|
}
|
|
|
|
export function getMDXComponents(): MDXComponents {
|
|
return {
|
|
...defaultComponents,
|
|
};
|
|
}
|