Skip to content

tools: only fetch previous versions when necessary

Rodrigo Muino Tomonari requested to merge github/fork/richardlau/doccache into master

Refactor the logic for working out the previous versions of Node.js for the API documentation so that the parsing (including the potential https get) happens at most once per build (as opposed to the current once per generated API doc).

Fixes: https://github.com/nodejs/node/issues/32512

cc @joyeecheung @rvagg

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading