mirror of
https://github.com/zenlm/zen-docs.git
synced 2026-10-30 14:58:13 +00:00
The overview called Zen LM "next-generation language models built on Qwen3 architecture" and sold unsourced claims: 95% less energy than cloud AI, carbon-negative operations, no API fees. It now says who makes Zen LM, Zoo Labs Foundation, a 501(c)(3) non-profit, the two jobs it is chosen for, that Zen 6 and Zen 6 Flash are available now, and that Zen 7 is a research preview with a link to request access. The older model pages sit under "Earlier Models". The site had not built on main: the docs page read page.slug and page.data.default, which fumadocs no longer has, the untyped loader hid both from the editor, and "<1 second" in a table parsed as a JSX tag. All three are fixed, and scripts/check-zen.mjs now runs after the build and fails it on an upstream name outside data-upstream. Nothing serves this repository: its Pages deploy has failed on every run and no DNS name points at it. LLM.md says so.
19 lines
436 B
TypeScript
19 lines
436 B
TypeScript
import { docs } from "@/.source"
|
|
import { loader } from "fumadocs-core/source"
|
|
|
|
function create() {
|
|
return loader({
|
|
baseUrl: "/docs",
|
|
source: docs.toFumadocsSource(),
|
|
})
|
|
}
|
|
|
|
// Create a single source instance that is reused
|
|
// This prevents circular references and stack overflow issues
|
|
let _source: ReturnType<typeof create> | null = null
|
|
|
|
export function getSource() {
|
|
if (!_source) _source = create()
|
|
return _source
|
|
}
|