Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.
JavaScript 3d3d-assets3d-modelingagent-skillsagent-toolsai-agentsasset-pipelinecligame-assetsglbgltfmcpmcp-servermodel-context-protocolprocedural-generationprocedural-modelingtext-to-3dthreejstypescript
---
import { getCollection } from "astro:content";
import { DOC_GROUPS } from "../../lib/docs-navigation";
interface Props {
current?: string;
label?: string;
}
const { current, label = "Documentation" } = Astro.props;
const docs = await getCollection("docs");
const available = new Set(docs.map((entry) => entry.id));
---
<nav aria-label={label} class="space-y-6">
{DOC_GROUPS.map((group) => (
<div>
<p class="mb-2 text-base font-semibold">{group.title}</p>
<ul class="m-0 list-none p-0">
{group.pages
.filter((page) => available.has(page.slug))
.map((page) => (
<li>
<a
href={`/docs/${page.slug}/`}
aria-current={current === page.slug ? "page" : undefined}
class:list={[
"docs-nav-link block min-h-11 py-2 text-sm",
{ "font-semibold": current === page.slug },
]}
>
{page.label}
</a>
</li>
))}
</ul>
</div>
))}
</nav>