update docs (#493)

This commit is contained in:
Chris Tate
2026-02-17 21:37:41 -06:00
committed by GitHub
parent 19dd2d0c0b
commit 76df589aea
10 changed files with 161 additions and 70 deletions
+39 -12
View File
@@ -3,16 +3,43 @@ export type NavItem = {
href: string;
};
export const allDocsPages: NavItem[] = [
{ name: "Introduction", href: "/" },
{ name: "Installation", href: "/installation" },
{ name: "Quick Start", href: "/quick-start" },
{ name: "Commands", href: "/commands" },
{ name: "Selectors", href: "/selectors" },
{ name: "Sessions", href: "/sessions" },
{ name: "Snapshots", href: "/snapshots" },
{ name: "Streaming", href: "/streaming" },
{ name: "CDP Mode", href: "/cdp-mode" },
{ name: "iOS Simulator", href: "/ios" },
{ name: "Changelog", href: "/changelog" },
export type NavSection = {
title: string | null;
items: NavItem[];
};
export const navigation: NavSection[] = [
{
title: null,
items: [
{ name: "Introduction", href: "/" },
{ name: "Installation", href: "/installation" },
{ name: "Quick Start", href: "/quick-start" },
],
},
{
title: "Reference",
items: [
{ name: "Commands", href: "/commands" },
{ name: "Selectors", href: "/selectors" },
{ name: "Snapshots", href: "/snapshots" },
],
},
{
title: "Features",
items: [
{ name: "Sessions", href: "/sessions" },
{ name: "CDP Mode", href: "/cdp-mode" },
{ name: "Streaming", href: "/streaming" },
{ name: "iOS Simulator", href: "/ios" },
],
},
{
title: null,
items: [{ name: "Changelog", href: "/changelog" }],
},
];
export const allDocsPages: NavItem[] = navigation.flatMap(
(section) => section.items
);