Skip to content

Commit

Permalink
Fix generation of NodeJS API documentation
Browse files Browse the repository at this point in the history
NodeJS API docs are out of sync with NodeJS C++ wrapper documentation
due to the doc build breaking back in Project-OSRM#4043.

The commit fixes the Node dev dependencies such that `npm run docs`
works again.
  • Loading branch information
mjjbell committed Jun 21, 2021
1 parent 2d19e5e commit 5ef5f26
Show file tree
Hide file tree
Showing 6 changed files with 8,342 additions and 6,623 deletions.
5 changes: 2 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"plugins": ["transform-class-properties"],
"presets": [
"stage-0",
"es2015",
"react"
"@babel/preset-env",
"@babel/preset-react"
]
}
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ matrix:
- ${MASON} install clang-format 10.0.0
- PATH=$(${MASON} prefix clang-format 10.0.0)/bin:${PATH} ./scripts/format.sh && ./scripts/error_on_dirty.sh
- node ./scripts/validate_changelog.js
# See issue 4043
#- npm run docs && ./scripts/error_on_dirty.sh
- npm run docs && ./scripts/error_on_dirty.sh
after_success:

- os: linux
Expand Down
Loading

0 comments on commit 5ef5f26

Please sign in to comment.