- PHP 5.4+
Download or clone the svgdotjs.github.io repo and switch to the
npm install. This is only required the first time.
npm run serve -swhich will open up your default browser with the docs running.
Log in to Kirby on localhost:8008/panel using username svgjs and password svgjs.
If you're not a core collaborator on svgdotjs, fork the
source branch, make the required changes in Kirby following the same style as the rest of the docs, and create a PR. We will take care of the rest, so no need to build or include a static version.
Building the static version
Go to localhost:8008/statify.php in a web browser to run the build. The static files will be generated at
staticat the root of the repo.
staticfolder out of the repo (e.g. your Desktop).
Commit and push the changes in the
sourcebranch and switch to the
Replace everything in the
masterbranch with the contents of the
- Commit and push the changes in the
masterbranch and you're done!