Skip to content

armgit / E2B

Public Imported from GitHub
0

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

chore: point README docs links at docs.e2b.dev (#1754)

michael-e2b182b498f6665
diff --git a/.changeset/docs-subdomain-links.md b/.changeset/docs-subdomain-links.md
new file mode 100644
index 000000000..8cebc49f6
--- /dev/null
+++ b/.changeset/docs-subdomain-links.md
@@ -0,0 +1,7 @@
+---
+'e2b': patch
+'@e2b/cli': patch
+'@e2b/python-sdk': patch
+---
+
+Point the README documentation links at `docs.e2b.dev` instead of `e2b.dev/docs`. The docs site moved to its own subdomain and has no `/docs` path prefix there, so `e2b.dev/docs` serves a 308 to `docs.e2b.dev/` and `e2b.dev/docs/code-interpreting` maps to `docs.e2b.dev/code-interpreting`. The UTM parameters are unchanged and survived the redirect, so this removes a redirect hop rather than fixing broken attribution.
diff --git a/packages/cli/README.md b/packages/cli/README.md
index d06f748f9..74c654e2a 100644
--- a/packages/cli/README.md
+++ b/packages/cli/README.md
@@ -8,7 +8,7 @@
# E2B CLI
-This CLI tool allows you to build manager your running E2B sandbox and sandbox templates. Learn more in [our documentation](https://e2b.dev/docs?utm_source=npm&utm_medium=referral&utm_campaign=readme&utm_content=e2b-cli).
+This CLI tool allows you to build manager your running E2B sandbox and sandbox templates. Learn more in [our documentation](https://docs.e2b.dev/?utm_source=npm&utm_medium=referral&utm_campaign=readme&utm_content=e2b-cli).
### 1. Install the CLI
@@ -38,4 +38,4 @@ e2b auth login
### 3. Check out docs
-Visit our [CLI documentation](https://e2b.dev/docs?utm_source=npm&utm_medium=referral&utm_campaign=readme&utm_content=e2b-cli) to learn more.
+Visit our [CLI documentation](https://docs.e2b.dev/?utm_source=npm&utm_medium=referral&utm_campaign=readme&utm_content=e2b-cli) to learn more.
diff --git a/packages/js-sdk/README.md b/packages/js-sdk/README.md
index d9019e89a..de651efae 100644
--- a/packages/js-sdk/README.md
+++ b/packages/js-sdk/README.md
@@ -68,7 +68,7 @@ Per-call options still take precedence over the client's options, and clients ar
### 5. Code execution with Code Interpreter
-If you need [`runCode()`](https://e2b.dev/docs/code-interpreting?utm_source=npm&utm_medium=referral&utm_campaign=readme&utm_content=e2b), install the [Code Interpreter SDK](https://github.com/e2b-dev/code-interpreter):
+If you need [`runCode()`](https://docs.e2b.dev/code-interpreting?utm_source=npm&utm_medium=referral&utm_campaign=readme&utm_content=e2b), install the [Code Interpreter SDK](https://github.com/e2b-dev/code-interpreter):
```bash
npm i @e2b/code-interpreter
@@ -83,7 +83,7 @@ console.log(execution.text) // outputs 2
```
### 6. Check docs
-Visit [E2B documentation](https://e2b.dev/docs?utm_source=npm&utm_medium=referral&utm_campaign=readme&utm_content=e2b).
+Visit [E2B documentation](https://docs.e2b.dev/?utm_source=npm&utm_medium=referral&utm_campaign=readme&utm_content=e2b).
### 7. E2B cookbook
Visit our [Cookbook](https://github.com/e2b-dev/e2b-cookbook/tree/main) to get inspired by examples with different LLMs and AI frameworks.
diff --git a/packages/python-sdk/README.md b/packages/python-sdk/README.md
index 468454a0d..2b162aeca 100644
--- a/packages/python-sdk/README.md
+++ b/packages/python-sdk/README.md
@@ -68,7 +68,7 @@ Per-call params still take precedence over the client's params, and clients are
### 5. Code execution with Code Interpreter
-If you need [`run_code()`](https://e2b.dev/docs/code-interpreting?utm_source=pypi&utm_medium=referral&utm_campaign=readme&utm_content=e2b), install the [Code Interpreter SDK](https://github.com/e2b-dev/code-interpreter):
+If you need [`run_code()`](https://docs.e2b.dev/code-interpreting?utm_source=pypi&utm_medium=referral&utm_campaign=readme&utm_content=e2b), install the [Code Interpreter SDK](https://github.com/e2b-dev/code-interpreter):
```
pip install e2b-code-interpreter
@@ -83,7 +83,7 @@ with Sandbox.create() as sandbox:
```
### 6. Check docs
-Visit [E2B documentation](https://e2b.dev/docs?utm_source=pypi&utm_medium=referral&utm_campaign=readme&utm_content=e2b).
+Visit [E2B documentation](https://docs.e2b.dev/?utm_source=pypi&utm_medium=referral&utm_campaign=readme&utm_content=e2b).
### 7. E2B cookbook
Visit our [Cookbook](https://github.com/e2b-dev/e2b-cookbook/tree/main) to get inspired by examples with different LLMs and AI frameworks.