forked from mehdivk/supersamples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
supersamples.opts
79 lines (51 loc) · 1.36 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
{
//
// 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",
//
// 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
},
//
// Single Markdown file
//
"markdown": {
// Output file path
"outputFile": "example-docs/samples.md"
}
}
}