File tree Expand file tree Collapse file tree 3 files changed +49
-29
lines changed Expand file tree Collapse file tree 3 files changed +49
-29
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,55 @@ const navbar = {
4040 to : '/general/community/contribute' ,
4141 label : 'Community' ,
4242 position : 'left' ,
43+ activeBasePath : '/general/community' ,
4344 } ,
4445 {
45- to : '/general/development/gettingstarted' ,
46+ type : 'docSidebar' ,
47+ position : 'left' ,
48+ sidebarId : 'coding' ,
4649 label : 'Coding' ,
50+ docsPluginId : 'general' ,
51+ } ,
52+ {
53+ type : 'docSidebar' ,
54+ position : 'left' ,
55+ sidebarId : 'process' ,
56+ label : 'Processes' ,
57+ docsPluginId : 'general' ,
58+ } ,
59+ {
60+ type : 'docSidebar' ,
61+ position : 'left' ,
62+ sidebarId : 'moodleapp' ,
63+ label : 'Moodle App' ,
64+ docsPluginId : 'general' ,
65+ } ,
66+ {
67+ type : 'docSidebar' ,
4768 position : 'left' ,
69+ sidebarId : 'releaseNotes' ,
70+ label : 'Releases' ,
71+ docsPluginId : 'general' ,
4872 } ,
4973 {
50- to : '/general/development/process' ,
51- label : 'Process' ,
74+ type : 'dropdown' ,
75+ label : 'Writing' ,
76+ items : [
77+ {
78+ type : 'docSidebar' ,
79+ // position: 'left',
80+ sidebarId : 'contentguidelines' ,
81+ label : 'Content guidelines' ,
82+ docsPluginId : 'general' ,
83+ } ,
84+ {
85+ type : 'docSidebar' ,
86+ // position: 'left',
87+ sidebarId : 'documentation' ,
88+ label : 'Documentation' ,
89+ docsPluginId : 'general' ,
90+ } ,
91+ ] ,
5292 position : 'left' ,
5393 } ,
5494
Original file line number Diff line number Diff line change @@ -49,34 +49,23 @@ const sidebars = {
4949 id : 'apis' ,
5050 } ,
5151 } ,
52-
53- {
54- label : 'Content guidelines' ,
55- type : 'link' ,
56- href : '/general/contentguidelines' ,
57- } ,
58-
5952 {
6053 label : 'Developer update' ,
6154 type : 'doc' ,
6255 id : 'devupdate' ,
6356 } ,
6457
65- {
66- label : 'Moodle App' ,
67- type : 'link' ,
68- href : '/general/app' ,
69- } ,
70-
7158 {
7259 type : 'html' ,
7360 value : '<hr>' ,
7461 } ,
62+
7563 {
76- label : 'Release notes ' ,
64+ label : 'Content guidelines ' ,
7765 type : 'link' ,
78- href : '/general/releases/4.3 ' ,
66+ href : '/general/contentguidelines ' ,
7967 } ,
68+
8069 {
8170 label : 'Projects' ,
8271 type : 'link' ,
Original file line number Diff line number Diff line change @@ -125,17 +125,8 @@ const sidebars = {
125125 } ,
126126 {
127127 label : 'Upgrade notes' ,
128- type : 'category' ,
129- items : [
130- {
131- type : 'autogenerated' ,
132- dirName : 'development/upgradenotes' ,
133- } ,
134- ] ,
135- link : {
136- type : 'doc' ,
137- id : 'development/upgradenotes' ,
138- } ,
128+ type : 'doc' ,
129+ id : 'development/upgradenotes' ,
139130 } ,
140131 ] ,
141132
You can’t perform that action at this time.
0 commit comments