From 95d4f9d4017e64f65306f0aa21ab44f19c339700 Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Thu, 26 Mar 2026 11:09:04 -0400 Subject: [PATCH] rm --- site/src/layouts/DocLayout.astro | 42 ------------------------- site/src/styles/base.css | 54 -------------------------------- 2 files changed, 96 deletions(-) diff --git a/site/src/layouts/DocLayout.astro b/site/src/layouts/DocLayout.astro index 1ea835e..afc8648 100644 --- a/site/src/layouts/DocLayout.astro +++ b/site/src/layouts/DocLayout.astro @@ -9,23 +9,6 @@ const headings: MarkdownHeading[] = Astro.props.headings ?? []; const isIndex = Astro.url.pathname === "/" || Astro.url.pathname === "/index.html"; const h2s = headings.filter((h) => h.depth === 2); -const docsSections = [ - { - title: "Start", - items: [ - { href: "/installation", label: "Installation" }, - { href: "/quick-start", label: "Quick start" }, - ], - }, - { - title: "Reference", - items: [ - { href: "/commands", label: "Commands" }, - { href: "/architecture", label: "Architecture" }, - { href: "/runtime-contract", label: "Runtime contract" }, - ], - }, -]; function formatTocText(text: string): string { if (!text.includes(" ") && /[-.]/.test(text)) { @@ -57,31 +40,6 @@ function formatTocText(text: string): string { ) } - { - !isIndex && ( -
- {docsSections.map((section) => ( -
- {section.title} - -
- ))} -
- ) - } - { toc && (