Skip to content

build: make test-doc and lint addon docs

Prepping for https://github.com/nodejs/build/issues/929

  • Implements the make test-doc target that build, verify and lint docs
  • Lint the C++ snippets in addon docs
  • When generating addons and running the JS linter, use the global node executable if it is not built. Therefore one does not have to build node in order to run make test-doc.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

test, tools

Merge request reports

Loading