@@ -342,56 +342,38 @@ export const SIDEBAR: Partial<Record<Sections, SectionEntry[]>> = {
342342 ] ,
343343 } ,
344344 {
345- section : "Streams Trade" ,
346- contents : [
347- {
348- title : "Overview" ,
349- url : "data-streams/streams-trade" ,
350- } ,
351- {
352- title : "Getting Started" ,
353- url : "data-streams/getting-started" ,
354- highlightAsCurrent : [ "data-streams/getting-started-hardhat" ] ,
355- } ,
356- {
357- title : "Handle StreamsLookup errors" ,
358- url : "data-streams/tutorials/streams-trade/streams-trade-lookup-error-handler" ,
359- } ,
360- ] ,
361- } ,
362- {
363- section : "Streams Direct" ,
345+ section : "Tutorials" ,
364346 contents : [
365347 {
366348 title : "Overview" ,
367- url : "data-streams/streams-direct " ,
349+ url : "data-streams/tutorials/overview " ,
368350 } ,
369351 {
370352 title : "Fetch and decode reports" ,
371- url : "data-streams/tutorials/streams-direct/streams-direct- api-go" ,
353+ url : "data-streams/tutorials/api-go" ,
372354 highlightAsCurrent : [
373- "data-streams/tutorials/streams-direct/streams-direct- api-rust" ,
374- "data-streams/tutorials/streams-direct/streams-direct- api-rwa-go" ,
375- "data-streams/tutorials/streams-direct/streams-direct- api-rwa-rust" ,
355+ "data-streams/tutorials/api-rust" ,
356+ "data-streams/tutorials/api-rwa-go" ,
357+ "data-streams/tutorials/api-rwa-rust" ,
376358 ] ,
377359 } ,
378360 {
379361 title : "Stream and decode reports (WebSocket)" ,
380- url : "data-streams/tutorials/streams-direct/streams-direct- ws-go" ,
362+ url : "data-streams/tutorials/ws-go" ,
381363 highlightAsCurrent : [
382- "data-streams/tutorials/streams-direct/streams-direct- ws-rust" ,
383- "data-streams/tutorials/streams-direct/streams-direct- ws-rwa-go" ,
384- "data-streams/tutorials/streams-direct/streams-direct- ws-rwa-rust" ,
364+ "data-streams/tutorials/ws-rust" ,
365+ "data-streams/tutorials/ws-rwa-go" ,
366+ "data-streams/tutorials/ws-rwa-rust" ,
385367 ] ,
386368 } ,
387369 {
388370 title : "Verify report data (EVM)" ,
389- url : "data-streams/tutorials/streams-direct/ evm-onchain-report-verification" ,
371+ url : "data-streams/tutorials/evm-onchain-report-verification" ,
390372 } ,
391373 {
392374 title : "Verify report data (Solana)" ,
393- url : "data-streams/tutorials/streams-direct/ solana-onchain-report-verification" ,
394- highlightAsCurrent : [ "data-streams/tutorials/streams-direct/ solana-offchain-report-verification" ] ,
375+ url : "data-streams/tutorials/solana-onchain-report-verification" ,
376+ highlightAsCurrent : [ "data-streams/tutorials/solana-offchain-report-verification" ] ,
395377 } ,
396378 ] ,
397379 } ,
@@ -412,32 +394,70 @@ export const SIDEBAR: Partial<Record<Sections, SectionEntry[]>> = {
412394 section : "Reference" ,
413395 contents : [
414396 {
415- title : "Streams Trade" ,
416- url : "data-streams/reference/streams-trade-interface" ,
397+ title : "Overview" ,
398+ url : "data-streams/reference/overview" ,
399+ } ,
400+ {
401+ title : "REST API" ,
402+ url : "data-streams/reference/interface-api" ,
403+ } ,
404+ {
405+ title : "WebSocket" ,
406+ url : "data-streams/reference/interface-ws" ,
417407 } ,
418408 {
419- title : "Streams Direct " ,
420- url : "data-streams/reference/streams-direct " ,
409+ title : "Authentication " ,
410+ url : "data-streams/reference/authentication " ,
421411 children : [
422412 {
423- title : "REST API " ,
424- url : "data-streams/reference/streams-direct/streams-direct-interface-api " ,
413+ title : "JavaScript examples " ,
414+ url : "data-streams/reference/authentication/javascript-examples " ,
425415 } ,
426416 {
427- title : "WebSocket " ,
428- url : "data-streams/reference/streams-direct/streams-direct-interface-ws " ,
417+ title : "TypeScript examples " ,
418+ url : "data-streams/reference/authentication/typescript-examples " ,
429419 } ,
430420 {
431- title : "SDK References" ,
432- url : "data-streams/reference/streams-direct/streams-direct-go-sdk" ,
433- highlightAsCurrent : [ "data-streams/reference/streams-direct/streams-direct-rust-sdk" ] ,
421+ title : "Go examples" ,
422+ url : "data-streams/reference/authentication/go-examples" ,
434423 } ,
435424 {
436- title : "Onchain report verification (EVM chains) " ,
437- url : "data-streams/reference/streams-direct/streams-direct-onchain-verification " ,
425+ title : "Rust examples " ,
426+ url : "data-streams/reference/authentication/rust-examples " ,
438427 } ,
439428 ] ,
440429 } ,
430+ {
431+ title : "SDK References" ,
432+ url : "data-streams/reference/go-sdk" ,
433+ highlightAsCurrent : [ "data-streams/reference/rust-sdk" ] ,
434+ } ,
435+ {
436+ title : "Onchain report verification (EVM chains)" ,
437+ url : "data-streams/reference/onchain-verification" ,
438+ } ,
439+ ] ,
440+ } ,
441+ {
442+ section : "Streams Trade" ,
443+ contents : [
444+ {
445+ title : "Overview" ,
446+ url : "data-streams/streams-trade" ,
447+ } ,
448+ {
449+ title : "Getting Started" ,
450+ url : "data-streams/tutorials/streams-trade/getting-started" ,
451+ highlightAsCurrent : [ "data-streams/tutorials/streams-trade/getting-started-hardhat" ] ,
452+ } ,
453+ {
454+ title : "Handle StreamsLookup errors" ,
455+ url : "data-streams/tutorials/streams-trade/streams-trade-lookup-error-handler" ,
456+ } ,
457+ {
458+ title : "Reference (Interfaces)" ,
459+ url : "data-streams/streams-trade/interfaces" ,
460+ } ,
441461 ] ,
442462 } ,
443463 {
0 commit comments