diff --git a/docusaurus.config.js b/docusaurus.config.js index 1961a9ee9..dab105d9b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -146,10 +146,14 @@ const config = { activeBaseRegex: `^/examples`, }, { - to: "/api", + to: "/api/deno", label: "API Reference", position: "left", - id: "toggleSecondaryNav", + items: [ + { to: "/api/deno", label: "Deno" }, + { to: "/api/web", label: "Web" }, + { to: "/api/node", label: "Node" }, + ], }, { href: "https://www.deno.com", diff --git a/src/components/APIReferenceIndex/index.tsx b/src/components/APIReferenceIndex/index.tsx index 3b7f0fddd..8cf23816a 100644 --- a/src/components/APIReferenceIndex/index.tsx +++ b/src/components/APIReferenceIndex/index.tsx @@ -24,7 +24,7 @@ const APIReferenceIndex: React.FC = ({ apiLinks }) => {