Skip to content

Commit

Permalink
📚 docs: Upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Apr 28, 2020
1 parent c70b756 commit e4bcdac
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 42 deletions.
47 changes: 47 additions & 0 deletions .esdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"source": "./src",
"destination": "./gh-pages",
"debug": false,
"index": "./README.md",
"package": "./package.json",
"plugins": [
{
"name": "esdoc-standard-plugin",
"option": {
"accessor": {
"access": ["public", "protected", "private"],
"autoPrivate": true
},
"brand": {
"title": "@aureooms/js-collections"
},
"test": {
"type": "ava",
"source": "./test/src"
},
"manual": {
"files":[
"./doc/manual/overview.md",
"./doc/manual/installation.md",
"./doc/manual/usage.md",
"./doc/manual/example.md"
]
}
}
},
{
"name": "esdoc-inject-style-plugin",
"option": {
"enable": true,
"styles": ["./doc/css/style.css"]
}
},
{
"name": "esdoc-inject-script-plugin",
"option": {
"enable": true,
"scripts": ["./doc/scripts/header.js"]
}
}
]
}
1 change: 1 addition & 0 deletions doc/manual/example.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Examples
See Python's docs:

- [collections](https://docs.python.org/3.6/library/collections.html)
Expand Down
1 change: 1 addition & 0 deletions doc/manual/installation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Installation
Can be managed using
[jspm](http://jspm.io)
or [npm](https://github.com/npm/npm).
Expand Down
1 change: 1 addition & 0 deletions doc/manual/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Overview
7 changes: 4 additions & 3 deletions doc/manual/usage.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Usage
The code needs a ES2015+ polyfill to work, for example
[babel-polyfill](https://babeljs.io/docs/usage/polyfill).
[@babel/polyfill](https://babeljs.io/docs/usage/polyfill).
```js
require( 'babel-polyfill' ) ;
require( '@babel/polyfill' ) ;
// or
import 'babel-polyfill' ;
import '@babel/polyfill' ;
```

Then
Expand Down
37 changes: 0 additions & 37 deletions esdoc.json

This file was deleted.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"babel-preset-latest": "6.24.1",
"codeclimate-test-reporter": "0.5.1",
"coveralls": "2.13.3",
"esdoc": "0.5.2",
"esdoc": "1.1.0",
"nyc": "11.9.0",
"@babel/cli": "7.8.4",
"@babel/core": "7.9.0",
Expand Down Expand Up @@ -82,6 +82,7 @@
"build": "rm -rf lib && babel src -d lib",
"cover": "nyc --reporter=lcov npm test",
"prepublish": "npm run build",
"test": "ava ./test/src"
"test": "ava ./test/src",
"esdoc": "esdoc"
}
}

0 comments on commit e4bcdac

Please sign in to comment.