Skip to content

Commit dd4eb9c

Browse files
committed
Some docdash options
1 parent afd3596 commit dd4eb9c

File tree

2 files changed

+38
-24
lines changed

2 files changed

+38
-24
lines changed

docs/jsdoc.json

Lines changed: 35 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,41 @@
1717
"opts": {
1818
"recurse": true,
1919
"destination": "./docs/jsdoc/",
20-
"cleverLinks": true,
21-
"monospaceLinks": true,
22-
"name": "JSROOT",
23-
"default": {
24-
"outputSourceFiles": true
25-
},
26-
"applicationName": "JavaScript ROOT",
27-
"disqus": "",
28-
"googleAnalytics": "",
29-
"openGraph": {
20+
"template": "./node_modules/docdash",
21+
"cleverLinks": true,
22+
"monospaceLinks": true,
23+
"name": "JSROOT",
24+
"default": {
25+
"outputSourceFiles": true
26+
},
27+
"applicationName": "JavaScript ROOT",
28+
"disqus": "",
29+
"googleAnalytics": "",
30+
"openGraph": {
31+
"title": "",
32+
"type": "website",
33+
"image": "",
34+
"site_name": "",
35+
"url": ""
36+
},
37+
"meta": {
3038
"title": "",
31-
"type": "website",
32-
"image": "",
33-
"site_name": "",
34-
"url": ""
35-
},
36-
"meta": {
37-
"title": "",
38-
"description": "",
39-
"keyword": ""
40-
},
41-
"linenums": false
39+
"description": "",
40+
"keyword": ""
41+
},
42+
"linenums": false
43+
},
44+
"docdash": {
45+
"collapse": true,
46+
"sectionOrder": [
47+
"Externals",
48+
"Events",
49+
"Mixins",
50+
"Tutorials",
51+
"Interfaces",
52+
"Modules",
53+
"Classes",
54+
"Namespaces"
55+
]
4256
}
4357
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@rollup/plugin-node-resolve": "13",
5656
"eslint": "8",
5757
"jsdoc": "^3.6.10",
58-
"jaguarjs-jsdoc": "^1.1.0",
58+
"docdash": "^1.2.0",
5959
"mocha": "9",
6060
"rollup": "2",
6161
"rollup-plugin-ascii": "0.0",
@@ -65,7 +65,7 @@
6565
},
6666
"scripts": {
6767
"build": "rollup -c build/rollup.config.js",
68-
"doc": "jsdoc -a public -a undefined -c docs/jsdoc.json -t node_modules/jaguarjs-jsdoc",
69-
"full": "jsdoc -c docs/jsdoc.json -p -d docs/jsdocfull -t node_modules/jaguarjs-jsdoc"
68+
"doc": "jsdoc -a public -a undefined -c docs/jsdoc.json",
69+
"full": "jsdoc -c docs/jsdoc.json -p -d docs/jsdocfull"
7070
}
7171
}

0 commit comments

Comments
 (0)