-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
39 lines (33 loc) · 1.52 KB
/
config.js
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
/**
* Documate.js configuration
* Generate documentation/user guide/pdf for your web-application
* @author: Gaurav Behere, gaurav.techgeek@gmail.com
* URL: https://github.com/gauravbehere/documate
*/
module.exports = {
"attributes": "aria-label,title", /* Attribs to look for in DOM element */
"eventsToDocument": ["url", "click", "sendKeys"], /* Out of the events recorder through uirecorder, events which we are interested in documenting */
"browsers": "chrome", /* comma seperated browser list: chrome, ie 11 etc*/
/**
* Format the PDF content, set header & footer styles
*/
"pdfOptions": {
"format": 'Letter',
"header": {
"height": "5mm",
"contents": '<div style="text-align: center; font-size: 24px;">Product User Guide</div><div style="text-align: center; font-size: 24px;">Version: 1.0</div><hr>'
},
"footer": {
"height": "10mm",
"contents": "<hr><div style='text-align: center; font-size: 24px;'>Generated Through 'Documate' - Automated Documentation Generator</div>"
}
},
"docVersion": 1.2, /* Increment this for a new set of product guide */
"specFeatureMap": {
/**
* Add a entry here to describe what the test case does.
* eg: "google.Directions.spec.js": "Finding directions between two places using google maps"
*/
"google.Directions.spec.js": "Finding directions between two places using google maps"
}
}