Skip to content

Commit aaf662b

Browse files
committed
collapse all but first two chapters
1 parent f14fa96 commit aaf662b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

astro.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export default defineConfig({
5555
},
5656
{
5757
label: 'Chapter 0: Prerequisites',
58+
collapsed: false,
5859
items: [
5960
{ label: 'Setting up the environment', slug: 'setup' },
6061
{ label: 'CLEO Library', slug: 'cleo-library' },
@@ -64,6 +65,7 @@ export default defineConfig({
6465
},
6566
{
6667
label: 'Chapter I: Hello, World!',
68+
collapsed: false,
6769
items: [
6870
{ label: 'Instructions', slug: 'instructions' },
6971
{ label: 'Parameters', slug: 'parameters' },
@@ -76,6 +78,7 @@ export default defineConfig({
7678
},
7779
{
7880
label: 'Chapter II: Introducing Loops',
81+
collapsed: true,
7982
items: [
8083
{ label: 'Variables', slug: 'variables' },
8184
{ label: 'WAIT command', slug: 'wait' },
@@ -86,6 +89,7 @@ export default defineConfig({
8689
},
8790
{
8891
label: 'Chapter III: To Be Or Not To Be',
92+
collapsed: true,
8993
items: [
9094
{ label: 'Conditions', slug: 'conditions' },
9195
{ label: 'IF..ELSE', slug: 'else' },
@@ -95,6 +99,7 @@ export default defineConfig({
9599
},
96100
{
97101
label: "Chapter IV: Working with Text",
102+
collapsed: true,
98103
items: [
99104
{label: 'Text Types', slug: 'text-types'},
100105
{label: 'Basic Messages', slug: 'basic-messages'},
@@ -106,6 +111,7 @@ export default defineConfig({
106111
},
107112
{
108113
label: "Chapter V: Advanced Loops",
114+
collapsed: true,
109115
items: [
110116
{ label: 'Constants', slug: 'constants' },
111117
{ label: 'FOR Loop', slug: 'for-loop' },
@@ -116,6 +122,7 @@ export default defineConfig({
116122
},
117123
{
118124
label: "Chapter VI: One Name, Many Values",
125+
collapsed: true,
119126
items: [
120127
{ label: 'Arrays', slug: 'arrays' },
121128
{ label: 'Arrays and Loops', slug: 'arrays-and-loops' },
@@ -125,6 +132,7 @@ export default defineConfig({
125132
},
126133
{
127134
label: "Chapter VII: Divide and Conquer",
135+
collapsed: true,
128136
items: [
129137
{ label: 'Functions', slug: 'functions' },
130138
{ label: 'Function Scope', slug: 'function-scope' },

0 commit comments

Comments
 (0)