+ {props.children} +
+ ); +}); + +DocsDescription.displayName = "DocsDescription"; + +export const DocsTitle = forwardRef< + HTMLHeadingElement, + HTMLAttributes+ {text.lastUpdate} {date} +
+ ); +} + +export interface FooterProps { + /** + * Items including information for the next and previous page + */ + items?: { + previous?: { name: string; url: string }; + next?: { name: string; url: string }; + }; +} + +const itemVariants = cva( + "flex w-full flex-col gap-2 rounded-lg border p-4 text-sm transition-colors hover:bg-fd-accent/80 hover:text-fd-accent-foreground", +); + +const itemLabel = cva( + "inline-flex items-center gap-0.5 text-fd-muted-foreground", +); + +function scanNavigationList(tree: Node[]) { + const list: Item[] = []; + + tree.forEach((node) => { + if (node.type === "folder") { + if (node.index) { + list.push(node.index); + } + + list.push(...scanNavigationList(node.children)); + return; + } + + if (node.type === "page" && !node.external) { + list.push(node); + } + }); + + return list; +} + +const listCache = new WeakMap{text.previousPage}
+{previous.name}
+ + ) : null} + {next ? ( + +{text.nextPage}
+{next.name}
+ + ) : null} +| + Field + | ++ Type + | ++ Constraints + | ++ Description + | +
|---|---|---|---|
|
+
+
+
+ {field.name}
+
+ {field.isPrimaryKey && (
+
+ |
+
+
+ {field.type}
+
+ |
+
+
+ {isRequired ? (
+
+
+ |
+
+
+
+ + {field.description} + + {field.references && ( +
+ → References{" "}
+ |
+