Vasek Mlejnsky
047039cf47
Resolve merge conflicts
2024-10-12 11:42:19 -07:00
Vasek Mlejnsky
b7cafcd380
pnpm-lock
2024-10-12 11:31:07 -07:00
Vasek Mlejnsky
9e0721cc85
Prepare new docs navigation [WIP]
2024-10-12 11:30:51 -07:00
Tomas Valenta
e5448c9abc
Add dir with testing artifacts to gitignore
2024-10-11 15:32:39 -07:00
0div
aba4cbd498
Generate API references workflow ( #449 )
...
# Description
- For now, any diff in `packages/` makes the workflow run each package's
`./scripts/generate_api_ref.sh`
- Each of these scripts now also copies and creates the proper file
structure, including versions, in
`apps/web/src/app/(docs)/docs/api-reference/`
- Boyscouting & Testing: Include Pty api ref to python sdk workflow &
test if it triggers the workflow
- Once the workflow generates the files, it auto-commits before the
deploy
- Created and integrated a prebuild step for the nextjs app it:
- generates routes for `routes.tsx`
- and generates TOC markowns for api-ref navigation component
# Test
- [x] Going to test it via this PR
- [x] Deploy [e2b-web](https://e2b-ijic9mwke-e2b.vercel.app/docs )
# Considerations
Could make this on a per package basis.
2024-10-11 20:21:36 +02:00
0div
3c00f2457c
better logging and caching in prebuild
2024-10-11 20:17:32 +02:00
0div
24732cb3a1
generate api ref only on push to main and beta branches
2024-10-11 20:02:48 +02:00
0div
5b2df4310a
better navigation and TOC generation in prebuild step
2024-10-11 18:03:48 +02:00
Jakub Novak
81db2b1466
Add sync watch handler
2024-10-11 11:54:00 +02:00
github-actions[bot]
beb4a0fb8c
[skip ci] Release new SDK API reference doc versions
2024-10-10 07:23:54 +00:00
0div
87e314ada5
Merge branch 'beta' of https://github.com/e2b-dev/E2B into generate-api-refs-workflow
2024-10-10 09:22:23 +02:00
Jakub Novak
5d027aa899
Improve the process exception message
2024-10-09 17:12:43 +02:00
Jakub Novak
7356efc2bb
Fix write operation description
2024-10-09 16:35:30 +02:00
Jakub Novak
fbc14b342f
Add browser test
2024-10-09 16:26:15 +02:00
github-actions[bot]
c94d576057
[skip ci] Release new SDK API reference doc versions
2024-10-08 17:42:27 +00:00
0div
6a2203daf3
merge beta
2024-10-08 19:39:21 +02:00
Jakub Novak
f2bec0544f
Fix empty file + add tests
2024-10-08 15:28:24 +02:00
Jakub Novak
506f70c7b8
Add docstrings to SDKs
2024-10-08 13:04:39 +02:00
Tomas Valenta
3d9208cbd3
Fixate memory size of base template
2024-10-07 16:31:11 -07:00
Vasek Mlejnsky
fd9a7f1552
Update reconnect_2.py
2024-10-05 14:09:39 -07:00
James Murdza
b07dd29f92
Fix Getting Started Examples ( #452 )
...
The current Getting Started examples are broken because 1) they don't
specify the Anthropic SDK version and 2) they use exports from a
deprecated beta version.
The example code has now been migrated in the cookbook
(https://github.com/e2b-dev/e2b-cookbook/commit/d28460156cf07e23c114581dc6dfafb71493418d )
so I'm copying it into the documentation here to fix the examples.
The Anthropic SDK version has also been notes to avoid our examples
suddenly breaking in the future.
2024-10-05 13:19:39 -07:00
James Murdza
85c1b87af8
Pin Anthropic SDK version in examples
2024-10-05 13:14:26 -07:00
James Murdza
7087d21310
Fix hello_world.py example for latest Anthropic SDK
2024-10-05 12:57:45 -07:00
James Murdza
17a0009919
Fix helloWorld.ts example for latest Anthropic SDK
2024-10-05 12:53:24 -07:00
Vasek Mlejnsky
fea9f65aa1
Update migration docs
2024-09-30 15:01:56 -07:00
github-actions[bot]
c7e79a579e
[skip ci] Release new SDK API reference doc versions
2024-09-27 15:41:34 +00:00
0div
e3c6d0dc51
remove "Objects" in h2 of python-sdk api ref markdown
2024-09-27 17:40:25 +02:00
0div
a89401b247
use more recent version of node in workflow
2024-09-27 17:33:12 +02:00
0div
7e8a2dd515
remove "Objects" in h2 of python-sdk api ref markdown
2024-09-27 17:32:30 +02:00
0div
a88a2cac2d
create TOC page instead of nested navigation
2024-09-27 11:59:04 +02:00
0div
e75d0903f6
ignore Search route type error
2024-09-26 17:32:29 +02:00
0div
c68a489cc4
fix footer prop type error
2024-09-26 17:08:59 +02:00
0div
9246c1be6f
Merge branch 'generate-api-refs-workflow' of https://github.com/e2b-dev/E2B into generate-api-refs-workflow
2024-09-26 16:39:29 +02:00
0div
0eef2ea559
fix undefined prop error
2024-09-26 16:39:02 +02:00
github-actions[bot]
661a08f8ff
[skip ci] Release new SDK API reference doc versions
2024-09-26 13:24:21 +00:00
0div
1d9db6489e
merge beta
2024-09-26 15:22:32 +02:00
0div
9b7a38ad2c
git ignore apiRefRoutes.json
2024-09-26 14:23:10 +02:00
0div
57703f4e2a
prebuild before build & dev
2024-09-26 14:22:23 +02:00
Jakub Novak
fe78c0320d
Simplify tests
2024-09-26 13:45:24 +02:00
Jakub Novak
30b043f49f
Add api key for tests
2024-09-26 12:38:32 +02:00
Jakub Novak
b334c0e261
Add pty tests in js
2024-09-26 12:36:55 +02:00
Jakub Novak
cc8938c7a4
Add tests before release
2024-09-26 11:56:34 +02:00
0div
08daef2d49
prebuild API ref routes and adapt component for nested ul elements
2024-09-26 09:47:05 +02:00
github-actions[bot]
8efd4d2795
[skip ci] Release new versions
2024-09-26 06:48:22 +00:00
Jakub Novak
8d626186de
Fix types
2024-09-26 08:44:45 +02:00
Jakub Novak
1d5ae30312
Merge 'main'
2024-09-26 08:39:05 +02:00
Tomas Valenta
ff368d1ba7
Explicitly configure keepalive pinging in Python SDK
2024-09-25 18:08:22 -07:00
Tomas Valenta
24e06c5e1a
Fix entry info return type
2024-09-25 17:46:28 -07:00
Tomas Valenta
e5b81e274c
Cleanup python pty types
2024-09-25 17:42:40 -07:00
Tomas Valenta
41853ccf98
Add keepalive ping and error handlers to pty
2024-09-25 17:32:04 -07:00