Skip to content

Commit 869f356

Browse files
author
Amanda Butler
authored
Add intros to docs.json
Add intros to sub_chapters to remove empty headings in TOC.
1 parent 19e0257 commit 869f356

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

docs.json

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,10 @@
262262
"title": "Input/Output (I/O)",
263263
"sub_chapters": [{
264264
"title": "I/O concepts",
265-
"sources": [{
265+
"intro": {
266266
"path": "docs/api/io/drivers.md"
267-
}
268-
]
267+
},
268+
"sources": []
269269
},
270270
{
271271
"title": "I/O options and config",
@@ -380,10 +380,10 @@
380380
"title": "Data storage",
381381
"sub_chapters": [{
382382
"title": "Concepts",
383-
"sources": [{
383+
"intro": {
384384
"path": "docs/api/storage/storage.md"
385-
}
386-
]
385+
},
386+
"sources": []
387387
},
388388
{
389389
"title": "Data storage options and config",
@@ -479,10 +479,10 @@
479479
"title": "Network Socket",
480480
"sub_chapters": [{
481481
"title": "Concepts",
482-
"sources": [{
482+
"intro": {
483483
"path": "docs/api/networksocket/networksocket.md"
484-
}
485-
]
484+
},
485+
"sources": []
486486
},
487487
{
488488
"title": "Network socket options and config",
@@ -535,10 +535,10 @@
535535
"title": "Network interfaces",
536536
"sub_chapters": [{
537537
"title": "Concepts",
538-
"sources": [{
538+
"intro": {
539539
"path": "docs/api/networkinterfaces/networkinterface.md"
540-
}
541-
]
540+
},
541+
"sources": []
542542
},
543543
{
544544
"title": "Network interfaces options and config",
@@ -610,10 +610,10 @@
610610
"title": "USB",
611611
"sub_chapters": [{
612612
"title": "USB concepts",
613-
"sources": [{
613+
"intro": {
614614
"path": "docs/api/usb/usb_component.md"
615-
}
616-
]
615+
},
616+
"sources": []
617617
},
618618
{
619619
"title": "USB APIs",
@@ -669,10 +669,10 @@
669669
"title": "Bluetooth",
670670
"sub_chapters": [{
671671
"title": "Bluetooth concepts",
672-
"sources": [{
672+
"intro": {
673673
"path": "docs/api/bluetooth/bluetooth.md"
674-
}
675-
]
674+
},
675+
"sources": []
676676
},
677677
{
678678
"title": "Bluetooth options and config",
@@ -722,10 +722,10 @@
722722
"title": "LoRaWAN",
723723
"sub_chapters": [{
724724
"title": "LoRaWAN concepts",
725-
"sources": [{
725+
"intro": {
726726
"path": "docs/api/lorawan/lorawanintro.md"
727-
}
728-
]
727+
},
728+
"sources": []
729729
},
730730
{
731731
"title": "LoRaWAN options and config",
@@ -764,10 +764,10 @@
764764
"title": "NFC",
765765
"sub_chapters": [{
766766
"title": "NFC concepts",
767-
"sources": [{
767+
"intro": {
768768
"path": "docs/api/nfc/NDEF.md"
769-
}
770-
]
769+
},
770+
"sources": []
771771
},
772772
{
773773
"title": "NFC APIs",
@@ -812,10 +812,10 @@
812812
"title": "Security",
813813
"sub_chapters": [{
814814
"title": "Security concepts",
815-
"sources": [{
815+
"intro": {
816816
"path": "docs/api/security/security.md"
817-
}
818-
]
817+
},
818+
"sources": []
819819
},
820820
{
821821
"title": "Security APIs",
@@ -856,10 +856,10 @@
856856
"title": "Power",
857857
"sub_chapters": [{
858858
"title": "Power concepts",
859-
"sources": [{
859+
"intro": {
860860
"path": "docs/api/power/power_manage.md"
861-
}
862-
]
861+
},
862+
"sources": []
863863
},
864864
{
865865
"title": "Power APIs",
@@ -889,10 +889,10 @@
889889
"title": "Memory",
890890
"sub_chapters": [{
891891
"title": "Memory concepts",
892-
"sources": [{
892+
"intro": {
893893
"path": "docs/api/memory/memory_intro.md"
894-
}
895-
]
894+
},
895+
"sources": []
896896
},
897897
{
898898
"title": "Memory APIs",
@@ -935,10 +935,10 @@
935935
"title": "Utilities",
936936
"sub_chapters": [{
937937
"title": "Utilities concepts",
938-
"sources": [{
938+
"intro": {
939939
"path": "docs/api/platform/platform.md"
940-
}
941-
]
940+
},
941+
"sources": []
942942
},
943943
{
944944
"title": "Utilities options and config",

0 commit comments

Comments
 (0)