Skip to content

Commit 489cb8e

Browse files
📚 docs: Upgrade.
1 parent 4f1d7a5 commit 489cb8e

File tree

2 files changed

+27
-19
lines changed

2 files changed

+27
-19
lines changed

.esdoc.json

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,33 @@
55
"index": "./README.md",
66
"package": "./package.json",
77
"plugins": [
8+
{
9+
"name": "esdoc-inject-script-plugin",
10+
"option": {
11+
"enable": true,
12+
"scripts": [
13+
"./doc/scripts/header.js"
14+
]
15+
}
16+
},
17+
{
18+
"name": "esdoc-inject-style-plugin",
19+
"option": {
20+
"enable": true,
21+
"styles": [
22+
"./doc/css/style.css"
23+
]
24+
}
25+
},
826
{
927
"name": "esdoc-standard-plugin",
1028
"option": {
1129
"accessor": {
12-
"access": ["public", "protected", "private"],
30+
"access": [
31+
"public",
32+
"protected",
33+
"private"
34+
],
1335
"autoPrivate": true
1436
},
1537
"brand": {
@@ -20,28 +42,14 @@
2042
"source": "./test/src"
2143
},
2244
"manual": {
23-
"files":[
45+
"files": [
2446
"./doc/manual/overview.md",
2547
"./doc/manual/installation.md",
2648
"./doc/manual/usage.md",
2749
"./doc/manual/example.md"
2850
]
2951
}
3052
}
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-
}
4553
}
4654
]
4755
}

doc/manual/usage.md

Lines changed: 3 additions & 3 deletions
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

0 commit comments

Comments
 (0)