Skip to content

Commit 9acf312

Browse files
committed
docs: restructure runtime sidebar by reader intent
1 parent ad6cffc commit 9acf312

2 files changed

Lines changed: 75 additions & 66 deletions

File tree

_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"navigation": [
33
{
4-
"name": "Docs",
4+
"name": "Runtime",
55
"href": "/runtime/"
66
},
77
{

runtime/_data.ts

Lines changed: 74 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Sidebar } from "../types.ts";
44

55
export const sidebar = [
66
{
7-
title: "Getting started",
7+
title: "Get started",
88
items: [
99
{
1010
title: "Welcome to Deno",
@@ -29,63 +29,108 @@ export const sidebar = [
2929
],
3030
},
3131
{
32-
title: "Fundamentals",
32+
title: "Guides",
3333
items: [
3434
{
35-
title: "TypeScript",
36-
href: "/runtime/fundamentals/typescript/",
35+
title: "Web development",
36+
href: "/runtime/fundamentals/web_dev/",
3737
},
3838
{
39-
title: "Node",
40-
href: "/runtime/fundamentals/node/",
39+
title: "HTTP Server",
40+
href: "/runtime/fundamentals/http_server/",
4141
},
4242
{
43-
title: "Security",
44-
href: "/runtime/fundamentals/security/",
43+
title: "Testing",
44+
href: "/runtime/fundamentals/testing/",
4545
},
4646
{
47-
title: "Modules and dependencies",
48-
href: "/runtime/fundamentals/modules/",
47+
title: "Testing code in docs",
48+
href: "/runtime/reference/documentation/",
4949
},
5050
{
51-
title: "Configuration",
52-
href: "/runtime/fundamentals/configuration/",
51+
title: "Debugging",
52+
href: "/runtime/fundamentals/debugging/",
5353
},
5454
{
55-
title: "Web development",
56-
href: "/runtime/fundamentals/web_dev/",
55+
title: "Linting and formatting",
56+
href: "/runtime/fundamentals/linting_and_formatting/",
5757
},
5858
{
59-
title: "Testing",
60-
href: "/runtime/fundamentals/testing/",
59+
title: "Continuous integration",
60+
href: "/runtime/reference/continuous_integration/",
6161
},
6262
{
63-
title: "Debugging",
64-
href: "/runtime/fundamentals/debugging/",
63+
title: "Docker",
64+
href: "/runtime/reference/docker/",
6565
},
6666
{
67-
title: "Workspaces",
68-
href: "/runtime/fundamentals/workspaces/",
67+
title: "Bundling",
68+
href: "/runtime/reference/bundling/",
6969
},
7070
{
71-
title: "Linting and formatting",
72-
href: "/runtime/fundamentals/linting_and_formatting/",
71+
title: "Using JSX and React",
72+
href: "/runtime/reference/jsx/",
7373
},
7474
{
75-
title: "HTTP Server",
76-
href: "/runtime/fundamentals/http_server/",
75+
title: "WebAssembly",
76+
href: "/runtime/reference/wasm/",
7777
},
7878
{
7979
title: "FFI",
8080
href: "/runtime/fundamentals/ffi/",
8181
},
82+
{
83+
title: "Cron",
84+
href: "/runtime/fundamentals/cron/",
85+
},
8286
{
8387
title: "OpenTelemetry",
8488
href: "/runtime/fundamentals/open_telemetry/",
8589
},
8690
{
87-
title: "Cron",
88-
href: "/runtime/fundamentals/cron/",
91+
title: "Module customization hooks",
92+
href: "/runtime/reference/module_hooks/",
93+
},
94+
{
95+
title: "Lint plugins",
96+
href: "/runtime/reference/lint_plugins/",
97+
},
98+
{
99+
title: "Deno & VS Code",
100+
href: "/runtime/reference/vscode/",
101+
},
102+
{
103+
title: "Migration guide",
104+
href: "/runtime/reference/migration_guide/",
105+
},
106+
],
107+
},
108+
{
109+
title: "Concepts",
110+
items: [
111+
{
112+
title: "TypeScript",
113+
href: "/runtime/fundamentals/typescript/",
114+
},
115+
{
116+
title: "Node",
117+
href: "/runtime/fundamentals/node/",
118+
},
119+
{
120+
title: "Security",
121+
href: "/runtime/fundamentals/security/",
122+
},
123+
{
124+
title: "Modules and dependencies",
125+
href: "/runtime/fundamentals/modules/",
126+
},
127+
{
128+
title: "Configuration",
129+
href: "/runtime/fundamentals/configuration/",
130+
},
131+
{
132+
title: "Workspaces",
133+
href: "/runtime/fundamentals/workspaces/",
89134
},
90135
{
91136
title: "Stability and releases",
@@ -94,7 +139,7 @@ export const sidebar = [
94139
],
95140
},
96141
{
97-
title: "Reference guides",
142+
title: "Reference",
98143
items: [
99144
{
100145
title: "CLI",
@@ -323,53 +368,17 @@ export const sidebar = [
323368
title: "Configuring TypeScript",
324369
href: "/runtime/reference/ts_config_migration/",
325370
},
326-
{
327-
title: "Continuous integration",
328-
href: "/runtime/reference/continuous_integration/",
329-
},
330371
{
331372
title: "Environment variables",
332373
href: "/runtime/reference/env_variables/",
333374
},
334-
{
335-
title: "Deno & VS Code",
336-
href: "/runtime/reference/vscode/",
337-
},
338-
{
339-
title: "Using JSX and React",
340-
href: "/runtime/reference/jsx/",
341-
},
342-
{
343-
title: "Testing code in docs",
344-
href: "/runtime/reference/documentation/",
345-
},
346-
{
347-
title: "Bundling",
348-
href: "/runtime/reference/bundling/",
349-
},
350-
{
351-
title: "Lint plugins",
352-
href: "/runtime/reference/lint_plugins/",
353-
},
354-
{
355-
title: "Module customization hooks",
356-
href: "/runtime/reference/module_hooks/",
357-
},
358-
{
359-
title: "WebAssembly",
360-
href: "/runtime/reference/wasm/",
361-
},
362-
{
363-
title: "Migration guide",
364-
href: "/runtime/reference/migration_guide/",
365-
},
366375
{
367376
title: "LSP integration",
368377
href: "/runtime/reference/lsp_integration/",
369378
},
370379
{
371-
title: "Docker",
372-
href: "/runtime/reference/docker/",
380+
title: "Lint rules",
381+
href: "/lint/",
373382
},
374383
],
375384
},

0 commit comments

Comments
 (0)