@@ -256,7 +261,7 @@ function Works({ works }: { works: WorksWith }) {
export type DocsPage = { href: string; title: string };
/** The docs, after rixse.dev: the pages down the side, the page on the right. */
-export function DocsLayout({ tool, pages, pathname, eyebrow = 'Documentation', title, lede, note, footnote, home = '/', Link = PlainLink, children }: {
+export function DocsLayout({ tool, pages, pathname, eyebrow = 'Documentation', title, lede, note, footnote, license, home = '/', Link = PlainLink, children }: {
tool: ToolId;
pages: DocsPage[];
pathname: string;
@@ -267,6 +272,8 @@ export function DocsLayout({ tool, pages, pathname, eyebrow = 'Documentation', t
note?: string;
/** A small line under the footer, e.g. trademark notices. */
footnote?: ReactNode;
+ /** The tool's license, in the footer. */
+ license?: License;
home?: string;
Link?: LinkComponent;
children: ReactNode;
@@ -291,7 +298,7 @@ export function DocsLayout({ tool, pages, pathname, eyebrow = 'Documentation', t
{children}