Skip to content

armgit / E2B

Public Imported from GitHub
0

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

typos in publish_packages workflow

0div3801df319a9a
diff --git a/.github/workflows/publish_packages.yml b/.github/workflows/publish_packages.yml
index caad48b28..59330b38f 100644
--- a/.github/workflows/publish_packages.yml
+++ b/.github/workflows/publish_packages.yml
@@ -1,4 +1,4 @@
-name: Test JS SDK
+name: Publish Packages
on:
workflow_call:
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/cli/v1.0.5/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/cli/v1.0.5/sandbox/page.mdx
index 53c9a5b35..d4b87498b 100644
--- a/apps/web/src/app/(docs)/docs/sdk-reference/cli/v1.0.5/sandbox/page.mdx
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/cli/v1.0.5/sandbox/page.mdx
@@ -63,8 +63,8 @@ e2b sandbox spawn [options] [template]
### Options
- - `-p, --path <path>: change root directory where command is executed to <path> directory `
- - `--config <e2b-toml>: specify path to the E2B config toml. By default E2B tries to find ./e2b.toml in root directory. `
+ - `-p, --path <path>: change root directory where command is executed to <path> directory `
+ - `--config <e2b-toml>: specify path to the E2B config toml. By default E2B tries to find ./e2b.toml in root directory. `
## e2b sandbox logs
@@ -81,9 +81,9 @@ e2b sandbox logs [options] <sandboxID>
### Options
- - `--level <level>: filter logs by level (DEBUG, INFO, WARN, ERROR). The logs with the higher levels will be also shown. [default: INFO]`
+ - `--level <level>: filter logs by level (DEBUG, INFO, WARN, ERROR). The logs with the higher levels will be also shown. [default: INFO]`
- `-f, --follow: keep streaming logs until the sandbox is closed `
- - `--format <format>: specify format for printing logs (json, pretty) [default: pretty]`
+ - `--format <format>: specify format for printing logs (json, pretty) [default: pretty]`
- `--loggers [loggers]: filter logs by loggers. Specify multiple loggers by separating them with a comma. `
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/cli/v1.0.5/template/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/cli/v1.0.5/template/page.mdx
index 96e83c629..0958b5fa3 100644
--- a/apps/web/src/app/(docs)/docs/sdk-reference/cli/v1.0.5/template/page.mdx
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/cli/v1.0.5/template/page.mdx
@@ -11,7 +11,7 @@ e2b template [options] [command]
## e2b template build
-build sandbox template defined by ./e2b.Dockerfile or ./Dockerfile in root directory. By default the root directory is the current working directory. This command also creates e2b.toml config.
+build sandbox template defined by ./e2b.Dockerfile or ./Dockerfile in root directory. By default the root directory is the current working directory. This command also creates e2b.toml config.
### Usage
@@ -22,12 +22,12 @@ e2b template build [options] [template]
### Options
- - `-p, --path <path>: change root directory where command is executed to <path> directory `
- - `-d, --dockerfile <file>: specify path to Dockerfile. By default E2B tries to find e2b.Dockerfile or Dockerfile in root directory. `
+ - `-p, --path <path>: change root directory where command is executed to <path> directory `
+ - `-d, --dockerfile <file>: specify path to Dockerfile. By default E2B tries to find e2b.Dockerfile or Dockerfile in root directory. `
- `-n, --name <template-name>: specify sandbox template name. You can use the template name to start the sandbox with SDK. The template name must be lowercase and contain only letters, numbers, dashes and underscores. `
- `-c, --cmd <start-command>: specify command that will be executed when the sandbox is started. `
- `-t, --team <team-id>: specify the team ID that the operation will be associated with. You can find team ID in the team settings in the E2B dashboard (https://e2b.dev/dashboard?tab=team). `
- - `--config <e2b-toml>: specify path to the E2B config toml. By default E2B tries to find ./e2b.toml in root directory. `
+ - `--config <e2b-toml>: specify path to the E2B config toml. By default E2B tries to find ./e2b.toml in root directory. `
- `--cpu-count <cpu-count>: specify the number of CPUs that will be used to run the sandbox. The default value is 2. `
- `--memory-mb <memory-mb>: specify the amount of memory in megabytes that will be used to run the sandbox. Must be an even number. The default value is 512. `
- `--build-arg <args...>: specify additional build arguments for the build command. The format should be <varname>=<value>. `
@@ -53,7 +53,7 @@ e2b template list [options]
## e2b template init
-create basic E2B Dockerfile (./e2b.Dockerfile) in root directory. You can then run e2b template build to build sandbox template from this Dockerfile
+create basic E2B Dockerfile (./e2b.Dockerfile) in root directory. You can then run e2b template build to build sandbox template from this Dockerfile
### Usage
@@ -64,13 +64,13 @@ e2b template init [options]
### Options
- - `-p, --path <path>: change root directory where command is executed to <path> directory `
+ - `-p, --path <path>: change root directory where command is executed to <path> directory `
## e2b template delete
-delete sandbox template and e2b.toml config
+delete sandbox template and e2b.toml config
### Usage
@@ -81,8 +81,8 @@ e2b template delete [options] [template]
### Options
- - `-p, --path <path>: change root directory where command is executed to <path> directory `
- - `--config <e2b-toml>: specify path to the E2B config toml. By default E2B tries to find ./e2b.toml in root directory. `
+ - `-p, --path <path>: change root directory where command is executed to <path> directory `
+ - `--config <e2b-toml>: specify path to the E2B config toml. By default E2B tries to find ./e2b.toml in root directory. `
- `-s, --select: select sandbox template from interactive list `
- `-t, --team <team-id>: specify the team ID that the operation will be associated with. You can find team ID in the team settings in the E2B dashboard (https://e2b.dev/dashboard?tab=team). `
- `-y, --yes: skip manual delete confirmation `
diff --git a/apps/web/src/components/MobileBurgerMenu.tsx b/apps/web/src/components/MobileBurgerMenu.tsx
index afbbc0f67..d23b958a5 100644
--- a/apps/web/src/components/MobileBurgerMenu.tsx
+++ b/apps/web/src/components/MobileBurgerMenu.tsx
@@ -14,7 +14,7 @@ import {
import { create } from 'zustand'
import { Header } from '@/components/Header'
-import { DocsNavigation } from '@/components/Navigation'
+import { DocsNavigation, SdkRefNavigation } from '@/components/Navigation'
function MenuIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
return (
@@ -57,6 +57,7 @@ function MobileNavigationDialog({
const searchParams = useSearchParams()
const initialPathname = useRef(pathname).current
const initialSearchParams = useRef(searchParams).current
+ const isApiRef = pathname?.startsWith('/docs/sdk-reference')
useEffect(() => {
if (pathname !== initialPathname || searchParams !== initialSearchParams) {
@@ -124,7 +125,7 @@ function MobileNavigationDialog({
layoutScroll
className="fixed bottom-0 left-0 top-14 w-full overflow-y-auto overflow-x-hidden bg-white px-4 pb-4 pt-6 shadow-lg shadow-zinc-900/10 ring-1 ring-zinc-900/7.5 dark:bg-zinc-900 dark:ring-zinc-800 min-[416px]:max-w-sm sm:px-6 sm:pb-10"
>
- <DocsNavigation />
+ {isApiRef ? <SdkRefNavigation /> : <DocsNavigation />}
</motion.div>
</Transition.Child>
</Dialog.Panel>