Dash docset documentation generator for the Svelte JavaScript framework.
$PATH
npm install
npm run generate
(this will both fetch & generate the docset)If you just want to fetch the site, npm run fetch
.
If you just want to (re)build the docset, npm run build
.
This runs a Node script and uses Puppetteer to fetch a few key pages from the main Svelte site (the tutorial + main docs page).
It then does some light processesing to setup the pages for local access -- removes the header, makes some CSS tweaks, fixes url/href paths, etc.
Dashing then scans the docs and generates the docset based on a healthy dose of regex matching.
Feel free to contribute any fixes/improvements. PRs always welcome. Ideas welcome too - just open an issue.
crawl()
makes fans spin.