@@ -300,6 +300,91 @@ export const sidebar = [
300300 } ,
301301 ] ,
302302 } ,
303+ {
304+ title : "Sandboxes" ,
305+ items : [
306+ {
307+ title : "Evaluating JavaScript" ,
308+ href : "/examples/sandboxes_evaluating_javascript/" ,
309+ type : "example" ,
310+ } ,
311+ {
312+ title : "Spawn a subprocess" ,
313+ href : "/examples/sandboxes_spawn_subprocess/" ,
314+ type : "example" ,
315+ } ,
316+ {
317+ title : "Serve a web framework" ,
318+ href : "/examples/sandboxes_web_framework/" ,
319+ type : "example" ,
320+ } ,
321+ {
322+ title : "Privide SSH access to a sandbox" ,
323+ href : "/examples/sandboxes_ssh_access/" ,
324+ type : "example" ,
325+ } ,
326+ {
327+ title : "Intereactive JavaScript REPL" ,
328+ href : "/examples/sandboxes_javascript_repl/" ,
329+ type : "example" ,
330+ } ,
331+ {
332+ title : "Provide a VSCode instance in a sandbox" ,
333+ href : "/examples/sandboxes_vscode_instance/" ,
334+ type : "example" ,
335+ } ,
336+ {
337+ title : "Use template literals with variable interpolation" ,
338+ href : "/examples/sandboxes_template_literals/" ,
339+ type : "example" ,
340+ } ,
341+ {
342+ title : "Error handling" ,
343+ href : "/examples/sandboxes_error_handling/" ,
344+ type : "example" ,
345+ } ,
346+ {
347+ title : "Error handling with custom error classes" ,
348+ href : "/examples/sandboxes_custom_error_classes/" ,
349+ type : "example" ,
350+ } ,
351+ {
352+ title : "Command cancellation" ,
353+ href : "/examples/sandboxes_command_cancellation/" ,
354+ type : "example" ,
355+ } ,
356+ {
357+ title : "Access string and binary output" ,
358+ href : "/examples/sandboxes_access_output/" ,
359+ type : "example" ,
360+ } ,
361+ {
362+ title : "Set and get environment variables" ,
363+ href : "/examples/sandboxes_environment_variables/" ,
364+ type : "example" ,
365+ } ,
366+ {
367+ title : "Stream output to a local file" ,
368+ href : "/examples/sandboxes_stream_output/" ,
369+ type : "example" ,
370+ } ,
371+ {
372+ title : "Upload files and directories to a sandbox" ,
373+ href : "/examples/sandboxes_upload_files/" ,
374+ type : "example" ,
375+ } ,
376+ {
377+ title : "Control sandbox lifetime" ,
378+ href : "/examples/sandboxes_lifetime_control/" ,
379+ type : "example" ,
380+ } ,
381+ {
382+ title : "Configure sandbox memory" ,
383+ href : "/examples/sandboxes_memory/" ,
384+ type : "example" ,
385+ } ,
386+ ] ,
387+ } ,
303388 {
304389 title : "Testing" ,
305390 items : [
0 commit comments