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 #4043.

The commit fixes the Node dev dependencies such that `npm run docs`
works again.
  • Loading branch information
mjjbell committed Sep 4, 2021
1 parent 8e100ea commit 16fb791
Show file tree
Hide file tree
Showing 6 changed files with 8,369 additions and 6,648 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 .github/workflows/osrm-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ jobs:
./scripts/check_taginfo.py taginfo.json profiles/car.lua
./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
build-test-publish:
needs: format-taginfo-docs
Expand Down
238 changes: 122 additions & 116 deletions docs/nodejs/api.md

Large diffs are not rendered by default.

Loading

0 comments on commit 16fb791

Please sign in to comment.