Skip to content

Commit 3c9a1d8

Browse files
committedApr 24, 2020
📚 docs: Upgrade.
1 parent 4f7d6d6 commit 3c9a1d8

File tree

6 files changed

+55
-26
lines changed

6 files changed

+55
-26
lines changed
 

‎.esdoc.json

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"source": "./src",
3+
"destination": "./gh-pages",
4+
"debug": false,
5+
"index": "./README.md",
6+
"package": "./package.json",
7+
"plugins": [
8+
{
9+
"name": "esdoc-standard-plugin",
10+
"option": {
11+
"accessor": {
12+
"access": ["public", "protected", "private"],
13+
"autoPrivate": true
14+
},
15+
"brand": {
16+
"title": "@aureooms/js-number"
17+
},
18+
"test": {
19+
"type": "ava",
20+
"source": "./test/src"
21+
},
22+
"manual": {
23+
"files":[
24+
"./doc/manual/overview.md",
25+
"./doc/manual/installation.md",
26+
"./doc/manual/usage.md",
27+
"./doc/manual/example.md"
28+
]
29+
}
30+
}
31+
},
32+
{
33+
"name": "esdoc-inject-style-plugin",
34+
"option": {
35+
"enable": true,
36+
"styles": ["./doc/css/style.css"]
37+
}
38+
},
39+
{
40+
"name": "esdoc-inject-script-plugin",
41+
"option": {
42+
"enable": true,
43+
"scripts": ["./doc/scripts/header.js"]
44+
}
45+
}
46+
]
47+
}

‎doc/manual/example.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Examples

‎doc/manual/overview.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Overview

‎doc/manual/usage.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Usage
22

33
The code needs a ES2015+ polyfill to work, for example
4-
[babel-polyfill](https://babeljs.io/docs/usage/polyfill).
4+
[@babel/polyfill](https://babeljs.io/docs/usage/polyfill).
55
```js
6-
require( 'babel-polyfill' ) ;
6+
require( '@babel/polyfill' ) ;
77
// or
8-
import 'babel-polyfill' ;
8+
import '@babel/polyfill' ;
99
```
1010

1111
Then

‎esdoc.json

-21
This file was deleted.

‎package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"babel-preset-latest": "^6.24.1",
3434
"codeclimate-test-reporter": "^0.5.0",
3535
"coveralls": "^2.13.1",
36-
"esdoc": "^0.5.2",
36+
"esdoc": "^1.1.0",
3737
"nyc": "^11.0.3",
3838
"@babel/cli": "7.8.4",
3939
"@babel/core": "7.9.0",
@@ -64,6 +64,7 @@
6464
"build": "babel src -d lib",
6565
"cover": "nyc --reporter=lcov npm test",
6666
"prepublish": "npm run build",
67-
"test": "ava ./test/src --concurrency 8"
67+
"test": "ava ./test/src --concurrency 8",
68+
"esdoc": "esdoc"
6869
}
6970
}

0 commit comments

Comments
 (0)
Please sign in to comment.