Skip to content

docs: add Code Interpreter template customization page#237

Merged
mishushakov merged 2 commits into
mainfrom
mishushakov/customize-interpreter-template-docs
Jun 5, 2026
Merged

docs: add Code Interpreter template customization page#237
mishushakov merged 2 commits into
mainfrom
mishushakov/customize-interpreter-template-docs

Conversation

@mishushakov
Copy link
Copy Markdown
Member

Adds a new Customize the template page under Code interpreting, documenting how to extend the code-interpreter-v1 sandbox template (including the new .env / E2B_API_KEY step) and how to build the production template from the code-interpreter repo via build_prod.py, requirements-dev.txt, and the SKIP_CACHE=true flag. Based on code-interpreter#289. The custom-template steps are provided in both JS/TS and Python, and the page is wired into navigation in docs.json.

🤖 Generated with Claude Code

Document customizing the Code Interpreter sandbox template: creating a
custom template that extends code-interpreter-v1 (with the new .env
step) and building the production template from source via
build_prod.py, requirements-dev.txt, and SKIP_CACHE.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cla-bot cla-bot Bot added the cla-signed label Jun 5, 2026
@cursor
Copy link
Copy Markdown

cursor Bot commented Jun 5, 2026

PR Summary

Low Risk
Documentation-only changes (new MDX page and navigation); no runtime or application code affected.

Overview
Adds a Customize the template doc under Code interpreting and registers it in docs.json (after Contexts, before Supported languages).

The new page documents two paths: extending code-interpreter-v1 via the E2B Template API (install SDK, template + build scripts in JS/TS and Python, .env with E2B_API_KEY, build, then Sandbox.create with a custom alias) with a link to install-custom-packages; and rebuilding the official template from the code-interpreter repo (requirements-dev.txt, build_prod.py, optional SKIP_CACHE=true).

Reviewed by Cursor Bugbot for commit 36f8156. Bugbot is set up for automated code reviews on this repo. Configure here.

@mishushakov mishushakov marked this pull request as ready for review June 5, 2026 13:30
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented Jun 5, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
e2b 🟢 Ready View Preview Jun 5, 2026, 1:32 PM

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d2c8ed0. Configure here.

Comment thread docs/code-interpreting/customize-template.mdx
Comment thread docs/code-interpreting/customize-template.mdx Outdated
Add a clone-the-repo first step and clarify the remaining steps run
under template/. Reword the custom-packages note to reference pip / npm.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy link
Copy Markdown
Member

@tomassrnka tomassrnka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mishushakov mishushakov merged commit 885e148 into main Jun 5, 2026
11 checks passed
@mishushakov mishushakov deleted the mishushakov/customize-interpreter-template-docs branch June 5, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants