-
Notifications
You must be signed in to change notification settings - Fork 26
/
supersamples.opts
96 lines (66 loc) · 1.77 KB
/
supersamples.opts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
//
// Supersamples options
// Note: all paths are relative to where Mocha is executed
//
// Base URL for all API calls (used in CURL examples)
"baseUrl": "http://my-api.com",
// Mocha reporter to display test results
// e.g. Dot, TAP, Spec...
"reporter": "Dot",
//
// Renderers
//
"renderers": {
//
// Full HTML website
//
"html": {
// Output folder
"outputFolder": "example-docs",
// Documentation page title
"title": "API documentation",
// Optional Markdown document used at the top of the docs
// Heading levels 1 and 2 are appended to the navigation
"intro": "example/docs/intro.md",
// Extra files to be copied into the output folder (css, logos, htaccess...)
// <key> is a glob pattern to a list of files
// <value> is the target folder inside of the configured output
"files": {
"example/docs/files/**": "."
},
// Paths to custom CSS files, relative to the output folder
// These must have been copied as part of "files"
"styles": [
"custom.css"
]
},
//
// Single JSON file with all the samples metadata
//
"json": {
// Output file path
"outputFile": "example-docs/samples.json",
"includeBuffers": false
},
"postman": {
// Output file path
"outputFile": "example-docs/samples.json",
"title": "Postman Collection Title",
"version": 2, // others not supported at the moment
"generateTests": true,
"replace": {
"headers": {},
"body": {}
},
"additionalItems": []
},
//
// Single Markdown file
//
"markdown": {
// Output file path
"outputFile": "example-docs/samples.md"
}
}
}