Skip to content

Commit f0a969b

Browse files
authored
feat(sidebar): add sub-article navigation (#72)
Add sub-article sidebar navigation
1 parent 2b4b736 commit f0a969b

1 file changed

Lines changed: 118 additions & 6 deletions

File tree

site.json

Lines changed: 118 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -349,15 +349,57 @@
349349
},
350350
{
351351
"link": "/learn/diagnostics/memory",
352-
"label": "Memory"
352+
"label": "Memory",
353+
"items": [
354+
{
355+
"link": "/learn/diagnostics/memory",
356+
"label": "Overview"
357+
},
358+
{
359+
"link": "/learn/diagnostics/memory/understanding-and-tuning-memory",
360+
"label": "Understanding and Tuning Memory"
361+
},
362+
{
363+
"link": "/learn/diagnostics/memory/using-heap-profiler",
364+
"label": "Using Heap Profiler"
365+
},
366+
{
367+
"link": "/learn/diagnostics/memory/using-heap-snapshot",
368+
"label": "Using Heap Snapshot"
369+
},
370+
{
371+
"link": "/learn/diagnostics/memory/using-gc-traces",
372+
"label": "Tracing garbage collection"
373+
}
374+
]
353375
},
354376
{
355377
"link": "/learn/diagnostics/live-debugging",
356-
"label": "Live Debugging"
378+
"label": "Live Debugging",
379+
"items": [
380+
{
381+
"link": "/learn/diagnostics/live-debugging",
382+
"label": "Overview"
383+
},
384+
{
385+
"link": "/learn/diagnostics/live-debugging/using-inspector",
386+
"label": "Using Inspector"
387+
}
388+
]
357389
},
358390
{
359391
"link": "/learn/diagnostics/poor-performance",
360-
"label": "Poor Performance"
392+
"label": "Poor Performance",
393+
"items": [
394+
{
395+
"link": "/learn/diagnostics/poor-performance",
396+
"label": "Overview"
397+
},
398+
{
399+
"link": "/learn/diagnostics/poor-performance/using-linux-perf",
400+
"label": "Using Linux Perf"
401+
}
402+
]
361403
},
362404
{
363405
"link": "/learn/diagnostics/flame-graphs",
@@ -395,15 +437,85 @@
395437
},
396438
{
397439
"link": "/learn/node-api/getting-started",
398-
"label": "Getting Started"
440+
"label": "Getting Started",
441+
"items": [
442+
{
443+
"link": "/learn/node-api/getting-started",
444+
"label": "Overview"
445+
},
446+
{
447+
"link": "/learn/node-api/getting-started/prerequisites",
448+
"label": "Pre-requisites"
449+
},
450+
{
451+
"link": "/learn/node-api/getting-started/tools",
452+
"label": "Tools"
453+
},
454+
{
455+
"link": "/learn/node-api/getting-started/project-structure",
456+
"label": "Anatomy of a Node-API project"
457+
},
458+
{
459+
"link": "/learn/node-api/getting-started/your-first-project",
460+
"label": "Your First Project"
461+
},
462+
{
463+
"link": "/learn/node-api/getting-started/objectwrap",
464+
"label": "Object Wrap"
465+
},
466+
{
467+
"link": "/learn/node-api/getting-started/migration",
468+
"label": "Migrating to Node-API"
469+
}
470+
]
399471
},
400472
{
401473
"link": "/learn/node-api/build-tools",
402-
"label": "Build Tools"
474+
"label": "Build Tools",
475+
"items": [
476+
{
477+
"link": "/learn/node-api/build-tools",
478+
"label": "Overview"
479+
},
480+
{
481+
"link": "/learn/node-api/build-tools/node-gyp",
482+
"label": "node-gyp"
483+
},
484+
{
485+
"link": "/learn/node-api/build-tools/cmake-js",
486+
"label": "CMake.js"
487+
},
488+
{
489+
"link": "/learn/node-api/build-tools/node-pre-gyp",
490+
"label": "node-pre-gyp"
491+
}
492+
]
403493
},
404494
{
405495
"link": "/learn/node-api/special-topics",
406-
"label": "Special Topics"
496+
"label": "Special Topics",
497+
"items": [
498+
{
499+
"link": "/learn/node-api/special-topics",
500+
"label": "Overview"
501+
},
502+
{
503+
"link": "/learn/node-api/special-topics/context-awareness",
504+
"label": "Context Awareness"
505+
},
506+
{
507+
"link": "/learn/node-api/special-topics/object-function-refs",
508+
"label": "Object and Function References"
509+
},
510+
{
511+
"link": "/learn/node-api/special-topics/asyncworker",
512+
"label": "AsyncWorker"
513+
},
514+
{
515+
"link": "/learn/node-api/special-topics/thread-safe-functions",
516+
"label": "Thread-Safe Functions"
517+
}
518+
]
407519
}
408520
]
409521
}

0 commit comments

Comments
 (0)