File tree Expand file tree Collapse file tree 2 files changed +39
-9
lines changed
scripts/apidocgen/postprocess Expand file tree Collapse file tree 2 files changed +39
-9
lines changed Original file line number Diff line number Diff line change 11301130 "title" : " General" ,
11311131 "path" : " ./reference/api/general.md"
11321132 },
1133+ {
1134+ "title" : " AI Bridge" ,
1135+ "path" : " ./reference/api/aibridge.md"
1136+ },
11331137 {
11341138 "title" : " Agents" ,
11351139 "path" : " ./reference/api/agents.md"
11621166 "title" : " Enterprise" ,
11631167 "path" : " ./reference/api/enterprise.md"
11641168 },
1169+ {
1170+ "title" : " Experimental" ,
1171+ "path" : " ./reference/api/experimental.md"
1172+ },
11651173 {
11661174 "title" : " Files" ,
11671175 "path" : " ./reference/api/files.md"
11701178 "title" : " Git" ,
11711179 "path" : " ./reference/api/git.md"
11721180 },
1181+ {
1182+ "title" : " InitScript" ,
1183+ "path" : " ./reference/api/initscript.md"
1184+ },
11731185 {
11741186 "title" : " Insights" ,
11751187 "path" : " ./reference/api/insights.md"
11781190 "title" : " Members" ,
11791191 "path" : " ./reference/api/members.md"
11801192 },
1193+ {
1194+ "title" : " Notifications" ,
1195+ "path" : " ./reference/api/notifications.md"
1196+ },
11811197 {
11821198 "title" : " Organizations" ,
11831199 "path" : " ./reference/api/organizations.md"
11861202 "title" : " PortSharing" ,
11871203 "path" : " ./reference/api/portsharing.md"
11881204 },
1205+ {
1206+ "title" : " Prebuilds" ,
1207+ "path" : " ./reference/api/prebuilds.md"
1208+ },
1209+ {
1210+ "title" : " Provisioning" ,
1211+ "path" : " ./reference/api/provisioning.md"
1212+ },
11891213 {
11901214 "title" : " Schemas" ,
11911215 "path" : " ./reference/api/schemas.md"
Original file line number Diff line number Diff line change @@ -198,20 +198,26 @@ func writeDocs(sections [][]byte) error {
198198 }
199199
200200 for i , r := range m .Routes {
201- if r .Title != "API " {
201+ if r .Title != "Reference " {
202202 continue
203203 }
204+ for j , child := range r .Children {
205+ if child .Title != "REST API" {
206+ continue
207+ }
204208
205- var children []route
206- for _ , mdf := range mdFiles {
207- docRoute := route {
208- Title : mdf .title ,
209- Path : mdf .path ,
209+ var children []route
210+ for _ , mdf := range mdFiles {
211+ docRoute := route {
212+ Title : mdf .title ,
213+ Path : mdf .path ,
214+ }
215+ children = append (children , docRoute )
210216 }
211- children = append (children , docRoute )
212- }
213217
214- m .Routes [i ].Children = children
218+ m .Routes [i ].Children [j ].Children = children
219+ break
220+ }
215221 break
216222 }
217223
You can’t perform that action at this time.
0 commit comments