T48a Docs · Frame: guides render at build in a Vite plugin, so a bad one fails the build; focus rings whole in the rail and list; plain heading words, unique ids, captions only when named, code under example= refused

This commit is contained in:
ZacharyZhang-NY committed 2026-10-01 12:01:42 -04:00
1 parent b2a4633333
commit 30dc94f44c
9 files changed
+71 -26

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
import { Link, useNavigate, useParams } from "@tanstack/react-router";
import { useEffect, type MouseEvent } from "react";
import { guides, type Guide } from "../docs/guides";
import type { Guide } from "../docs/guides";
import { guides } from "virtual:guides";
import { NotFound } from "./NotFound";
const to = (guide: Guide) => (guide.slug ? `/docs/${guide.slug}/` : "/docs/");