Skip to content

Commit 107ab76

Browse files
authored
Remove legacy docs and update cold start timing to ~80ms (#124)
- Update snapshot loading time from "a few hundred milliseconds" to ~80ms - Remove all legacy (pre-v1.0) documentation pages and snippets - Add permanent redirects for all legacy URLs to current equivalents - Remove legacy build system section from troubleshooting page
1 parent 9466c98 commit 107ab76

45 files changed

Lines changed: 204 additions & 4451 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs.json

Lines changed: 203 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -142,16 +142,7 @@
142142
"docs/template/examples/docker"
143143
]
144144
},
145-
"docs/template/migration-v2",
146-
{
147-
"group": "Legacy Docs",
148-
"pages": [
149-
"docs/sandbox-template",
150-
"docs/sandbox-template/start-cmd",
151-
"docs/sandbox-template/ready-cmd",
152-
"docs/sandbox-template/customize-cpu-ram"
153-
]
154-
}
145+
"docs/template/migration-v2"
155146
]
156147
},
157148
{
@@ -301,12 +292,212 @@
301292
},
302293
{
303294
"source": "/docs/sandbox-templates/overview",
304-
"destination": "/docs/sandbox-template",
295+
"destination": "/docs/template/quickstart",
305296
"permanent": true
306297
},
307298
{
308299
"source": "/docs/sandbox-templates",
309-
"destination": "/docs/sandbox-template",
300+
"destination": "/docs/template/quickstart",
301+
"permanent": true
302+
},
303+
{
304+
"source": "/docs/sandbox-template",
305+
"destination": "/docs/template/quickstart",
306+
"permanent": true
307+
},
308+
{
309+
"source": "/docs/sandbox-template/start-cmd",
310+
"destination": "/docs/template/start-ready-command",
311+
"permanent": true
312+
},
313+
{
314+
"source": "/docs/sandbox-template/ready-cmd",
315+
"destination": "/docs/template/start-ready-command",
316+
"permanent": true
317+
},
318+
{
319+
"source": "/docs/sandbox-template/customize-cpu-ram",
320+
"destination": "/docs/template/quickstart",
321+
"permanent": true
322+
},
323+
{
324+
"source": "/docs/legacy",
325+
"destination": "/docs",
326+
"permanent": true
327+
},
328+
{
329+
"source": "/docs/legacy/hello-world/js",
330+
"destination": "/docs/quickstart",
331+
"permanent": true
332+
},
333+
{
334+
"source": "/docs/legacy/hello-world/py",
335+
"destination": "/docs/quickstart",
336+
"permanent": true
337+
},
338+
{
339+
"source": "/docs/legacy/getting-started/api-key",
340+
"destination": "/docs/api-key",
341+
"permanent": true
342+
},
343+
{
344+
"source": "/docs/legacy/getting-started/installation",
345+
"destination": "/docs/quickstart",
346+
"permanent": true
347+
},
348+
{
349+
"source": "/docs/legacy/cli/commands",
350+
"destination": "/docs/cli",
351+
"permanent": true
352+
},
353+
{
354+
"source": "/docs/legacy/cli/installation",
355+
"destination": "/docs/cli",
356+
"permanent": true
357+
},
358+
{
359+
"source": "/docs/legacy/sandbox/overview",
360+
"destination": "/docs/sandbox",
361+
"permanent": true
362+
},
363+
{
364+
"source": "/docs/legacy/sandbox/compute",
365+
"destination": "/docs/sandbox",
366+
"permanent": true
367+
},
368+
{
369+
"source": "/docs/legacy/sandbox/custom",
370+
"destination": "/docs/template/quickstart",
371+
"permanent": true
372+
},
373+
{
374+
"source": "/docs/legacy/sandbox/api/process",
375+
"destination": "/docs/commands",
376+
"permanent": true
377+
},
378+
{
379+
"source": "/docs/legacy/sandbox/api/filesystem",
380+
"destination": "/docs/filesystem",
381+
"permanent": true
382+
},
383+
{
384+
"source": "/docs/legacy/sandbox/api/upload",
385+
"destination": "/docs/filesystem/upload",
386+
"permanent": true
387+
},
388+
{
389+
"source": "/docs/legacy/sandbox/api/download",
390+
"destination": "/docs/filesystem/download",
391+
"permanent": true
392+
},
393+
{
394+
"source": "/docs/legacy/sandbox/api/cwd",
395+
"destination": "/docs/commands",
396+
"permanent": true
397+
},
398+
{
399+
"source": "/docs/legacy/sandbox/api/envs",
400+
"destination": "/docs/sandbox/environment-variables",
401+
"permanent": true
402+
},
403+
{
404+
"source": "/docs/legacy/sandbox/api/timeouts",
405+
"destination": "/docs/sandbox",
406+
"permanent": true
407+
},
408+
{
409+
"source": "/docs/legacy/sandbox/api/reconnect",
410+
"destination": "/docs/sandbox/connect",
411+
"permanent": true
412+
},
413+
{
414+
"source": "/docs/legacy/sandbox/api/url",
415+
"destination": "/docs/sandbox/internet-access",
416+
"permanent": true
417+
},
418+
{
419+
"source": "/docs/legacy/sandbox/api/metadata",
420+
"destination": "/docs/sandbox/metadata",
421+
"permanent": true
422+
},
423+
{
424+
"source": "/docs/legacy/sandbox/api/debugging",
425+
"destination": "/docs/sandbox",
426+
"permanent": true
427+
},
428+
{
429+
"source": "/docs/legacy/sandbox/templates/overview",
430+
"destination": "/docs/template/quickstart",
431+
"permanent": true
432+
},
433+
{
434+
"source": "/docs/legacy/sandbox/templates/template-file",
435+
"destination": "/docs/template/defining-template",
436+
"permanent": true
437+
},
438+
{
439+
"source": "/docs/legacy/code-interpreter/installation",
440+
"destination": "/docs/code-interpreting/analyze-data-with-ai",
441+
"permanent": true
442+
},
443+
{
444+
"source": "/docs/legacy/code-interpreter/execution",
445+
"destination": "/docs/code-interpreting/analyze-data-with-ai",
446+
"permanent": true
447+
},
448+
{
449+
"source": "/docs/legacy/code-interpreter/examples",
450+
"destination": "/docs/code-interpreting/analyze-data-with-ai",
451+
"permanent": true
452+
},
453+
{
454+
"source": "/docs/legacy/code-interpreter/kernels",
455+
"destination": "/docs/code-interpreting/supported-languages",
456+
"permanent": true
457+
},
458+
{
459+
"source": "/docs/legacy/code-interpreter/template",
460+
"destination": "/docs/template/quickstart",
461+
"permanent": true
462+
},
463+
{
464+
"source": "/docs/legacy/pricing",
465+
"destination": "/docs/billing",
466+
"permanent": true
467+
},
468+
{
469+
"source": "/docs/legacy/getting-help",
470+
"destination": "/docs/support",
471+
"permanent": true
472+
},
473+
{
474+
"source": "/docs/legacy/open-source",
475+
"destination": "/docs",
476+
"permanent": true
477+
},
478+
{
479+
"source": "/docs/legacy/supported",
480+
"destination": "/docs",
481+
"permanent": true
482+
},
483+
{
484+
"source": "/docs/legacy/guide/custom-sandbox",
485+
"destination": "/docs/template/quickstart",
486+
"permanent": true
487+
},
488+
{
489+
"source": "/docs/legacy/guide/beta-code-interpreter-language-runtimes",
490+
"destination": "/docs/code-interpreting/supported-languages",
491+
"permanent": true
492+
},
493+
{
494+
"source": "/docs/legacy/guide/beta-migration",
495+
"destination": "/docs/template/migration-v2",
496+
"permanent": true
497+
},
498+
{
499+
"source": "/docs/legacy/examples/clone-repo",
500+
"destination": "/docs/sandbox/git-integration",
310501
"permanent": true
311502
},
312503
{

docs/legacy.mdx

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)