Skip to content

Commit

Permalink
Merge pull request #36 from twingly/remove-jsdoc
Browse files Browse the repository at this point in the history
Remove JSDoc from package.json
  • Loading branch information
dentarg committed May 3, 2019
2 parents 0fbc94b + 54d50db commit ad64c93
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 128 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@ query.execute(function(error, result){

The `twingly-search` library talks to a commercial blog search API and requires an API key. Best practice is to set the `TWINGLY_SEARCH_KEY` environment variable to the obtained key. `Client` can be passed a key at initialization if your setup does not allow environment variables.

The library is documented with [jsdoc](http://usejsdoc.org/). To generate the documentation run
The library is documented with [JSDoc](https://github.com/jsdoc3/jsdoc). To generate the documentation, you need to install JSDoc, and then generate the documentation.

```shell
npm run doc
npm install -g jsdoc
jsdoc -r ./lib
```

Find the generated documentation in `out/index.html`.

Example code can be found in [examples/](examples/).

To learn more about the capabilities of the API, please read the [Twingly Search API documentation](https://developer.twingly.com/resources/search/).
Expand Down
123 changes: 0 additions & 123 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@
"chai-datetime": "^1.4.0",
"chai-fuzzy": "^1.6.0",
"choma": "^1.2.1",
"jsdoc": "^3.4.0",
"mocha": "^5.2.0",
"replayer": "^2.2.3"
},
"scripts": {
"preversion": "npm test",
"postversion": "git push && git push --tags",
"test": "./node_modules/.bin/mocha",
"doc": "./node_modules/.bin/jsdoc -r ./lib"
"test": "./node_modules/.bin/mocha"
},
"author": "Twingly AB <support@twingly.com> (https://twingly.com/)",
"contributors": [
Expand Down

0 comments on commit ad64c93

Please sign in to comment.