Commit Graph

4740 Commits

Author SHA1 Message Date
Jakub Novák fae8d02859 Generate only relevant api routes for the client in SDKs (#542)
# Description

No need to generate to generate for endpoints not relevant to the SDKs
(e.g. admin endpoints)
2025-01-17 14:26:00 -08:00
Jakub Novak 238887b03d Add retry block to host and stdin tests 2025-01-17 14:24:01 -08:00
0div 5c4207b7ed Merge branch 'main' of https://github.com/e2b-dev/E2B into create-stress-test-e2b-1360 2025-01-17 11:17:30 -08:00
Jakub Novak 594bb174d2 Generate only relevant api routes for the client in SDKs 2025-01-17 11:01:40 -08:00
Vasek Mlejnsky 2c4508e2dd Update docs page about env vars (#541)
This PR clarifies language about default env var
2025-01-17 10:10:43 -08:00
Vasek Mlejnsky c1a883b615 Update docs page about env vars 2025-01-17 09:50:30 -08:00
0div a76ce3f6f2 used create-next-app in template; remove old draft test 2025-01-16 20:16:42 -08:00
0div c7ae7161fd Update packages/js-sdk/tests/setup.ts
Co-authored-by: Jakub Novák <jakub@e2b.dev>
2025-01-17 04:45:17 +01:00
Vasek Mlejnsky 1108879482 Document E2B_SANDBOX env var (#538) 2025-01-13 16:59:52 -08:00
Vasek Mlejnsky 8b8c9794b4 Change docs page structure 2025-01-13 16:59:05 -08:00
Vasek Mlejnsky d6c4a95357 Change docs page structure 2025-01-13 15:36:12 -08:00
0div 1c12bf8130 document E2B_SANDBOX env var 2025-01-13 15:27:09 -08:00
Jakub Novák 4552eb3133 Update README.md (#537) 2025-01-13 11:49:37 -08:00
r33drichards 27b238abf8 Update README.md 2025-01-13 11:14:03 -08:00
r33drichards e7d35ec9d4 Update README.md 2025-01-13 11:13:21 -08:00
Mish Ushakov bb1840798d Added workers-edge-runtime troubleshooting guide (#536)
Adds a troubleshooting guide for issues regarding the JS SDK on Vercel
Edge Runtime, Cloudflare Workers

---------

Co-authored-by: Mish Ushakov <mishushakov@users.noreply.github.com>
2025-01-13 19:30:41 +01:00
never not exploring 7f57364ef7 Fix duplicate search analytics event captures (#535)
This pr adds the following:
1. prevents unnecessary analytics event captures when user erases query
& user navigates through results with arrow keys
2. changes docs page legacy banner prose (v.1.0 -> v1.0)
2025-01-13 12:03:42 +01:00
Ben Fornefeld 8992302bf8 fix duplicate event captures when arrow keys for result navigation are used 2025-01-13 11:57:31 +01:00
Ben Fornefeld fff4cb1e53 improve legacy banner prose 2025-01-13 11:46:59 +01:00
never not exploring 87b1a3fcc1 Capture documentation search analytics & improve legacy docs handling (#534) 2025-01-12 19:42:21 +01:00
Ben Fornefeld a0b7236250 improve docs search analytics event naming 2025-01-12 19:38:06 +01:00
Ben Fornefeld e26374b79b improve legacy doc banner prose 2025-01-12 19:36:46 +01:00
Ben Fornefeld 92e2c3fe55 prevent hiding search results component if input not focused 2025-01-12 17:41:03 +01:00
Ben Fornefeld 7feb06a337 add scrollability to search results in dialog 2025-01-12 16:30:39 +01:00
Ben Fornefeld edb90a9dda clean-up search result click event debug 2025-01-12 16:20:01 +01:00
Ben Fornefeld c5ade2fe6e fix search item select event capturing 2025-01-12 16:17:41 +01:00
Ben Fornefeld 2d47c15422 refactor component structure for seo readability 2025-01-12 16:04:06 +01:00
Ben Fornefeld 95681d6425 improve legacy doc banner ui 2025-01-12 15:33:45 +01:00
Ben Fornefeld 8388be7a3c add legacy document banner to legacy docs page 2025-01-12 15:14:37 +01:00
Ben Fornefeld 5810987e72 track posthog events on docs search & search click
track posthog events on docs search & search click
2025-01-12 14:59:57 +01:00
never not exploring fb7f0e3fe6 Show badge for legacy documentation search results (#533) 2025-01-11 00:26:20 +01:00
Ben Fornefeld f93d18e3e5 add: sort legacy docs search results at last + improve: docs search legacy badge 2025-01-10 23:45:58 +01:00
Ben Fornefeld 6290cb242d add: badge parameter to docs index + badge component in search result 2025-01-10 23:45:58 +01:00
Vasek Mlejnsky 52a004b77e Display the new changelog page (#528)
This PR updates the middleware rules so it fetches the new changelog
page hosted on Webflow when user goes to `https://e2b.dev/changelog`.
2025-01-07 14:11:47 -06:00
Vasek Mlejnsky e7940c0e30 Remove unnecessary URL replace rule 2025-01-07 12:02:59 -08:00
Vasek Mlejnsky 08af170c14 fetch changelog route from landing page website 2025-01-07 11:57:06 -08:00
Vasek Mlejnsky 084eae9166 Add /cookbook page (#527)
This PR makes sure that the `https://e2b.dev/cookbook` route correctly
displays the content of the cookbook page that's part of our landing
page on our Webflow.
2025-01-03 12:17:40 -06:00
Vasek Mlejnsky 3b5bd069a2 Fix typo 2025-01-03 09:48:19 -08:00
Vasek Mlejnsky d03e62f26e Add matching rule 2025-01-03 09:41:27 -08:00
Vasek Mlejnsky 703d182401 Handle cookbook route on the landing page 2025-01-03 09:39:45 -08:00
never not exploring b9cb0aea50 Add search capabilities to documentation (#522)
this pr adds the following:

1. non "api-reference" or "sdk-reference" documentation files are
indexed on build time and made full text searchable via `flexsearch`
2. `<Search />` component is added to the docs navigation on desktop &
mobile accordingly
3. preview snippets are visualised for each `SearchResult`
2024-12-26 20:37:43 +01:00
Ben Fornefeld 2deb170db7 remove: sdkRefVersion key from flexsearch store array 2024-12-26 20:18:07 +01:00
Ben Fornefeld c565bdbcb2 add: filter api-/sdk-reference docs before indexing 2024-12-26 19:23:46 +01:00
Ben Fornefeld 9784065930 add: preview to docs search results 2024-12-26 17:24:52 +01:00
Ben Fornefeld ebea88f2ef add: Search component to mobile nav 2024-12-26 16:45:01 +01:00
Ben Fornefeld d1411c3b52 add: code block content search indexing + Search component to docs navigation 2024-12-26 16:29:00 +01:00
0div e84bf8d0b4 improve nextjs stress test 2024-12-26 12:06:13 +01:00
0div 3245acd4d9 fix template build command to include npm start command and add nextjs stress test to integration suite 2024-12-26 11:27:24 +01:00
0div 39dfd385a9 Merge branch 'create-integration-test-template-e2b-1361' into create-stress-test-e2b-1360 2024-12-26 11:03:59 +01:00
0div 7dc89ac736 boilerplate for integration test template build 2024-12-23 17:56:19 +01:00