@@ -33,22 +33,30 @@ export const KNOWN_LANGUAGES = {
33
33
// }
34
34
35
35
export const SIDEBAR = {
36
- parser : [
37
- { text : 'Parser' , header : true } ,
38
- { text : 'Introduction' , link : 'parser' } ,
39
- { text : 'Routes' , link : 'parser/routes' } ,
40
- ] ,
41
36
machines : [
42
- { text : 'Machines ' , header : true } ,
37
+ { text : 'YieldMachine ' , header : true } ,
43
38
{ text : 'Introduction' , link : 'machines' } ,
39
+ { text : 'Primitives' , link : 'machines/primitives' } ,
40
+ { text : 'Working with promises' , link : 'machines/promises' } ,
41
+ { text : 'Entry and exit callbacks' , link : 'machines/entry-exit' } ,
42
+ { text : 'Reading properties from the received event' , link : 'machines/event-props' } ,
43
+ { text : 'Listening to external events' , link : 'machines/external-events' } ,
44
+ { text : 'Nested machines' , link : 'machines/nested-machines' } ,
45
+ { text : 'Examples' , link : 'machines/examples' } ,
44
46
{ text : 'Annotated source' , link : 'machines/source' } ,
45
47
] ,
48
+ parser : [
49
+ { text : 'YieldParser' , header : true } ,
50
+ { text : 'Introduction' , link : 'parser' } ,
51
+ { text : 'Routes' , link : 'parser/routes' } ,
52
+ { text : 'HTTP Helpers' , link : 'parser/routes' } ,
53
+ ] ,
46
54
en : [
47
55
{ text : 'Section Header' , header : true } ,
48
56
{ text : 'Introduction' , link : 'en/introduction' } ,
49
57
{ text : 'Page 2' , link : 'en/page-2' } ,
50
58
{ text : 'Page 3' , link : 'en/page-3' } ,
51
-
59
+
52
60
{ text : 'Another Section' , header : true } ,
53
61
{ text : 'Page 4' , link : 'en/page-4' } ,
54
62
]
0 commit comments