Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Add page to docs

Jakub Novakc193bc1de8db
diff --git a/apps/web/src/app/(docs)/docs/cli/build-auth-error/page.mdx b/apps/web/src/app/(docs)/docs/troubleshooting/templates/page.mdx
similarity index 94%
rename from apps/web/src/app/(docs)/docs/cli/build-auth-error/page.mdx
rename to apps/web/src/app/(docs)/docs/troubleshooting/templates/page.mdx
index ea61a1674..3abb26be5 100644
--- a/apps/web/src/app/(docs)/docs/cli/build-auth-error/page.mdx
+++ b/apps/web/src/app/(docs)/docs/troubleshooting/templates/page.mdx
@@ -1,9 +1,11 @@
-# Docker push authentication error
+# Templates
+
+## Docker push authentication error
When the CLI tries to push a Docker image to the registry, you might encounter an authentication error. This error sometimes occurs for users when Docker doesn't send any credentials to the registry.
To resolve this issue, you can use the following steps:
-## MacOS
+### MacOS
1. Open Docker Desktop.
2. Go to Settings.
@@ -39,7 +41,7 @@ This allows Docker to send requests to local proxy, which handles the authentica
5. Click Apply & Restart.
-## Linux
+### Linux
1. Edit the Docker configuration file (usually `/etc/docker/daemon.json`) and add the following line, if the file doesn't exist, create it:
```json
@@ -54,7 +56,7 @@ This allows Docker to send requests to local proxy, which handles the authentica
sudo systemctl restart docker
```
-## Windows
+### Windows
1. Open Docker Desktop.
2. Go to Settings.
diff --git a/apps/web/src/components/Navigation/routes.tsx b/apps/web/src/components/Navigation/routes.tsx
index 51d65db07..33dd9076b 100644
--- a/apps/web/src/components/Navigation/routes.tsx
+++ b/apps/web/src/components/Navigation/routes.tsx
@@ -1,9 +1,4 @@
-import {
- Home,
- CheckCircle,
- MessagesSquare,
- Braces,
-} from 'lucide-react'
+import { Home, CheckCircle, MessagesSquare, Braces } from 'lucide-react'
export interface NavLink {
title: string
@@ -147,7 +142,7 @@ export const routes: NavGroup[] = [
title: 'Interactive charts',
href: '/docs/code-interpreting/create-charts-visualizations/interactive-charts',
},
- ]
+ ],
},
{
title: 'Streaming',
@@ -184,13 +179,13 @@ export const routes: NavGroup[] = [
title: 'Bash',
href: '/docs/code-interpreting/supported-languages/bash',
},
- ]
+ ],
},
// {
// title: '* Parsing code execution results',
// href: '/docs/code-interpreting/todo',
// },
- ]
+ ],
},
// {
// title: 'Guides', // How to's
@@ -309,7 +304,7 @@ export const routes: NavGroup[] = [
title: 'Customize CPU & RAM',
href: '/docs/sandbox-template/customize-cpu-ram',
},
- ]
+ ],
},
{
title: 'Filesystem',
@@ -334,7 +329,7 @@ export const routes: NavGroup[] = [
title: 'Download data',
href: '/docs/filesystem/download',
},
- ]
+ ],
},
{
title: 'Commands',
@@ -351,7 +346,7 @@ export const routes: NavGroup[] = [
title: 'Run commands in background',
href: '/docs/commands/background',
},
- ]
+ ],
},
// {
// title: '* Async Python SDK',
@@ -411,7 +406,16 @@ export const routes: NavGroup[] = [
title: 'Shutdown running sandboxes',
href: '/docs/cli/shutdown-sandboxes',
},
- ]
+ ],
+ },
+ {
+ title: 'Troubleshooting',
+ items: [
+ {
+ title: 'Templates',
+ href: '/docs/troubleshooting/templates',
+ },
+ ],
},
// {
// // Maybe move integrations to a separate docs page?
@@ -433,4 +437,3 @@ export const routes: NavGroup[] = [
// },
// ...apiRefRoutes,
]
-