aboutsummaryrefslogtreecommitdiff
path: root/docs/nav.ts
diff options
context:
space:
mode:
Diffstat (limited to 'docs/nav.ts')
-rw-r--r--docs/nav.ts16
1 files changed, 14 insertions, 2 deletions
diff --git a/docs/nav.ts b/docs/nav.ts
index 3feebba66..4c05a4368 100644
--- a/docs/nav.ts
+++ b/docs/nav.ts
@@ -7,19 +7,23 @@ export type NavPage = {
type: "page";
slug: string;
title: string;
+ disabled?: boolean;
+ href?: string;
};
type NavDivider = {
type: "divider";
title: string;
};
-function page(slug: string, title: string): NavPage {
- return { type: "page", slug, title };
+
+function page(slug: string, title: string, props?: {disabled?: boolean; href?: string}): NavPage {
+ return { type: "page", slug, title, ...props };
}
function divider(title: string): NavDivider {
return { type: "divider", title };
}
+
export default {
items: [
divider("Intro"),
@@ -34,6 +38,8 @@ export default {
page("cli/test", "`bun test`"),
page("cli/create", "`bun create`"),
page("cli/bunx", "`bunx`"),
+ page("cli/deploy", "`bun deploy`", {disabled: true}),
+
// page("bundler", "Bundler"),
// page("cli/bun-install", "`bun install`"),
// page("cli/bun-create", "`bun create`"),
@@ -51,6 +57,7 @@ export default {
page("runtime/hot", "Hot reloading"),
// page("runtime/loaders", "Loaders"),
page("runtime/plugins", "Plugins"),
+ page("runtime/framework", "Framework API", {disabled: true}),
// page("runtime/nodejs", "Node.js APIs"),
divider("Ecosystem"),
@@ -58,6 +65,11 @@ export default {
page("ecosystem/typescript", "TypeScript"),
page("ecosystem/react", "React"),
page("ecosystem/express", "Express"),
+ page("ecosystem/hono", "Hono"),
+ page("ecosystem/elysia", "Elysia"),
+ page("ecosystem/awesome", "Awesome", {
+ href:"https://github.com/apvarun/awesome-bun"
+ }),
divider("API"),
page("api/http", "HTTP"), // "`Bun.serve`"),