docs: redesigned navigation (#9525)

Redesign navigation bar to reflect new design and allow for dropdowns

Closes DX-943
This commit is contained in:
Shahed Nasser
2024-10-11 07:10:00 +00:00
committed by GitHub
parent 7c5415ba3a
commit 49a91fd40e
63 changed files with 934 additions and 978 deletions
+5 -5
View File
@@ -1,5 +1,4 @@
import { DocsConfig } from "types"
import { getMobileSidebarItems } from "docs-ui"
const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
@@ -16,9 +15,10 @@ export const config: DocsConfig = {
loaded: true,
},
],
mobile: getMobileSidebarItems({
baseUrl,
version: "v2",
}),
mobile: [],
},
project: {
title: "API Reference",
key: "api-reference",
},
}