diff --git a/app/docs/page.tsx b/app/docs/page.tsx index f4db611..66790d4 100644 --- a/app/docs/page.tsx +++ b/app/docs/page.tsx @@ -1,27 +1,39 @@ -"use client"; -import { Footer, Navbar } from "../../layout"; +import type { Metadata } from "next"; +import { Navbar } from "../../layout"; +export const metadata: Metadata = { + title: "VoxKit API Documentation", + description: + "Generated API reference for the VoxKit Python package: storage, analyzers, engines, and configuration.", +}; + +/** + * The pdoc bundle in `public/docs` is already a complete documentation site, + * with a sidebar pane and a content pane that scroll independently. This route + * hands it the whole viewport below the navbar instead of insetting it in a + * card, so those two are the only scrollbars on the page. + * + * `Footer` is deliberately absent. As a sibling of a viewport-height region it + * put a third, outer scrollbar on the window, and scrolling it slid the entire + * docs pane out of view. + */ export default function DocsPage() { return ( - <> -
- - - {/* Documentation iframe container */} -
-
- {/* Iframe wrapper with styling */} -
-