1- const introduction = require ( './guides/introduction.js' ) ;
1+ // const introduction = require('./guides/introduction.js');
22const quickstarts = require ( './guides/quickstarts.js' ) ;
33const tutorials = require ( './guides/tutorials.js' ) ;
44const best_practices = require ( './guides/best-practices.js' ) ;
55
6-
76const overview = {
8- title : 'Overview' ,
9- collapsable : false ,
10- sidebarDepth : 0 ,
11- children : [
12- [ '/api/guides/' , 'Settle API Overview' ] ,
13- ] ,
14- }
15-
16- module . exports = [
17- overview ,
18- introduction ,
19- quickstarts ,
20- tutorials ,
21- best_practices ,
22- ]
7+ title : 'Overview' ,
8+ collapsable : false ,
9+ sidebarDepth : 0 ,
10+ children : [ [ '/api/guides/' , 'Settle API Overview' ] ] ,
11+ } ;
2312
13+ /**
14+ * @todo #96 @rexgnu Edit the Introductions Sidabar here. Documents are found in '/docs/api/guides/introduction'.
15+ */
16+ const introduction = {
17+ title : 'Introduction' , // required
18+ collapsable : false ,
19+ sidebarDepth : 0 ,
20+ children : [
21+ [ '/api/guides/introduction/a-note-on-settle-api-users.md' , 'A Note on Settle API Users' ] ,
22+ [ '/api/guides/introduction/attachments.md' , 'Attachments' ] ,
23+ [ '/api/guides/introduction/authentication.md' , 'Authentication' ] ,
24+ [ '/api/guides/introduction/callbacks.md' , 'Callbacks' ] ,
25+ [ '/api/guides/introduction/error-responses.md' , 'Error Responses' ] ,
26+ [ '/api/guides/introduction/interacting.md' , 'Interacting' ] ,
27+ [ '/api/guides/introduction/ledgers.md' , 'Ledgers' ] ,
28+ [ '/api/guides/introduction/media-type.md' , 'Media Types' ] ,
29+ [ '/api/guides/introduction/payment-flows.md' , 'Payment Flows' ] ,
30+ [ '/api/guides/introduction/permission-requests.md' , 'Permission Requests' ] ,
31+ [ '/api/guides/introduction/qr-acceptance.md' , 'QR Acceptance' ] ,
32+ [ '/api/guides/introduction/resiliency.md' , 'Resiliency' ] ,
33+ [ '/api/guides/introduction/sandbox-environment.md' , 'Sandbox Enviroment #1' ] ,
34+ [ '/api/guides/introduction/settle-sandbox-environment.md' , ' Sandbox Enviroment #2' ] ,
35+ [ '/api/guides/introduction/settlements.md' , 'Settlements' ] ,
36+ [ '/api/guides/introduction/versioning.md' , 'Verioning' ] ,
37+ ] ,
38+ } ;
2439
25- // function getIntroductionSidebar() {
26- // return [
27- // '/introduction/',
28- // '/introduction/interacting',
29- // '/introduction/callbacks',
30- // '/introduction/error-responses',
31- // '/introduction/media-type',
32- // '/introduction/a-note-on-settle-api-users',
33- // '/introduction/versioning',
34- // ['/introduction/resiliency', 'Resiliency'],
35- // ];
36- // }
40+ module . exports = [
41+ overview ,
42+ introduction ,
43+ // quickstarts,
44+ tutorials ,
45+ // best_practices,
46+ ] ;
3747
3848// function getGuidesSidebar() {
3949// return [
@@ -46,4 +56,7 @@ module.exports = [
4656// '/guides/permission-requests',
4757// '/guides/qr-acceptance',
4858// ];
49- // }
59+ // }
60+
61+
62+
0 commit comments