Closed feross closed 5 years ago
Ah interesting! I was looking into pulling the api docs right from the node repo.
There are some build scripts in the repo too and it looks like there is one that creates a single HTML file.
Your approach works though! I'm a little worried about brittleness since its pulling a hard-coded list of URLs.
If you want to send a PR with a better approach, totally happy to go with that instead. We can even just commit the HTML files without my script to update them if you think it's a bad approach.
Released as 4.0.1.
Fixes: #685
Offline bundled docs are now for Node v12. There's also now a script to update them. It uses Monolith (https://github.com/Y2Z/monolith). If someone knows a better way to save and bundle webpages into a single HTML file using a built-in system dependency like wget or curl, or using a Node.js package, please send a PR to improve this.
cc @rvagg @Flet