Files
zeekay d016d87d10 Tell the Zen 6 story on the zen-docs overview
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.
2026-09-30 07:29:04 -07:00

47 lines
1.1 KiB
TypeScript

import { source } from '@/lib/source'
import { DocsPage, DocsBody, DocsTitle, DocsDescription } from 'fumadocs-ui/page'
import { notFound } from 'next/navigation'
import type { Metadata } from 'next'
interface PageProps {
params: Promise<{ slug?: string[] }>
}
export async function generateStaticParams() {
return source.getPages().map((page) => ({
slug: page.slugs,
}))
}
export async function generateMetadata({ params }: PageProps): Promise<Metadata> {
const resolvedParams = await params
const page = source.getPage(resolvedParams.slug)
if (!page) notFound()
return {
title: page.data.title,
description: page.data.description,
}
}
export default async function Page({ params }: PageProps) {
const resolvedParams = await params
const page = source.getPage(resolvedParams.slug)
if (!page) notFound()
const MDX = page.data.body
return (
<DocsPage>
<DocsTitle>{page.data.title}</DocsTitle>
{page.data.description && (
<DocsDescription>{page.data.description}</DocsDescription>
)}
<DocsBody>
<MDX />
</DocsBody>
</DocsPage>
)
}