Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Reorder sections

Jakub Novakca751885cff8
diff --git a/apps/docs/src/components/Navigation/routes.tsx b/apps/docs/src/components/Navigation/routes.tsx
index 9d680d36d..253e7da71 100644
--- a/apps/docs/src/components/Navigation/routes.tsx
+++ b/apps/docs/src/components/Navigation/routes.tsx
@@ -6,8 +6,9 @@ import {
Cog,
Cpu,
DollarSign,
- FileDown,
File,
+ FileCode,
+ FileDown,
FileUp,
Folder,
FolderTree,
@@ -21,10 +22,11 @@ import {
RefreshCw,
Settings,
ShieldQuestion,
+ Terminal,
TerminalSquare,
Timer,
Variable,
- Wrench, FileCode, Lightbulb,
+ Wrench,
} from 'lucide-react'
export const routes = [
@@ -91,50 +93,32 @@ export const routes = [
],
},
{
- title: 'Sandbox',
+ title: 'Code Interpreter API',
links: [
{
+ icon: <FileCode strokeWidth={1} size={20} />,
title: 'Overview',
- href: '/sandbox/overview',
- },
- {
- icon: <Cpu strokeWidth={1} size={20} />,
- title: 'Compute',
- href: '/sandbox/compute',
- },
- {
- icon: <PencilRuler strokeWidth={1} size={20} />,
- title: 'Customization',
- href: '/sandbox/custom',
- },
- ],
- },
- {
- title: 'Custom Sandboxes',
- links: [
- {
- title: 'Overview',
- href: '/sandbox/templates/overview',
+ href: '/code-interpreter/overview',
},
{
- icon: <File strokeWidth={1} size={20} />,
- title: 'Template File',
- href: '/sandbox/templates/template-file',
+ icon: <Terminal strokeWidth={1} size={20} />,
+ title: 'Code Execution',
+ href: '/code-interpreter/execution',
},
{
- icon: <PlaySquare strokeWidth={1} size={20} />,
- title: 'Start Command',
- href: '/sandbox/templates/start-cmd',
+ icon: <Book strokeWidth={1} size={20} />,
+ title: 'Examples',
+ href: '/code-interpreter/examples',
},
{
- icon: <Hammer strokeWidth={1} size={20} />,
- title: 'Guide: Creating Custom Sandbox',
- href: '/guide/custom-sandbox',
+ icon: <Wrench strokeWidth={1} size={20} />,
+ title: 'Extending Code Interpreter',
+ href: '/code-interpreter/template',
},
{
- icon: <HardDrive strokeWidth={1} size={20} />,
- title: 'Connecting buckets to persist data',
- href: '/guide/connect-bucket',
+ icon: <Cog strokeWidth={1} size={20} />,
+ title: 'Kernels',
+ href: '/code-interpreter/kernels',
},
],
},
@@ -194,47 +178,65 @@ export const routes = [
],
},
{
- title: 'Code Interpreter',
+ title: 'CLI API',
links: [
{
- icon: <FileCode strokeWidth={1} size={20} />,
- title: 'Overview',
- href: '/code-interpreter/overview',
+ icon: <Settings strokeWidth={1} size={20} />,
+ title: 'Installation',
+ href: '/cli/installation',
},
{
- icon: <Lightbulb strokeWidth={1} size={20} />,
- title: 'Execution explained',
- href: '/code-interpreter/execution',
+ icon: <TerminalSquare strokeWidth={1} size={20} />,
+ title: 'Commands',
+ href: '/cli/commands',
},
+ ],
+ },
+ {
+ title: 'Sandbox',
+ links: [
{
- icon: <Book strokeWidth={1} size={20} />,
- title: 'Examples',
- href: '/code-interpreter/examples',
+ title: 'Overview',
+ href: '/sandbox/overview',
},
{
- icon: <Wrench strokeWidth={1} size={20} />,
- title: 'Extending Code Interpreter',
- href: '/code-interpreter/template',
+ icon: <Cpu strokeWidth={1} size={20} />,
+ title: 'Compute',
+ href: '/sandbox/compute',
},
{
- icon: <Cog strokeWidth={1} size={20} />,
- title: 'Kernels',
- href: '/code-interpreter/kernels',
+ icon: <PencilRuler strokeWidth={1} size={20} />,
+ title: 'Customization',
+ href: '/sandbox/custom',
},
],
},
{
- title: 'CLI API',
+ title: 'Custom Sandboxes',
links: [
{
- icon: <Settings strokeWidth={1} size={20} />,
- title: 'Installation',
- href: '/cli/installation',
+ title: 'Overview',
+ href: '/sandbox/templates/overview',
},
{
- icon: <TerminalSquare strokeWidth={1} size={20} />,
- title: 'Commands',
- href: '/cli/commands',
+ icon: <File strokeWidth={1} size={20} />,
+ title: 'Template File',
+ href: '/sandbox/templates/template-file',
+ },
+ {
+ icon: <PlaySquare strokeWidth={1} size={20} />,
+ title: 'Start Command',
+ href: '/sandbox/templates/start-cmd',
+ },
+ {
+ icon: <Hammer strokeWidth={1} size={20} />,
+ title: 'Guide: Creating Custom Sandbox',
+ href: '/guide/custom-sandbox',
+ },
+ {
+ icon: <HardDrive strokeWidth={1} size={20} />,
+ title: 'Connecting buckets to persist data',
+ href: '/guide/connect-bucket',
},
],
},