Install dependencies using npm
:
npm i
Fetch the Konecty.Docs source files, into a src
directory or you could also symlink a local copy of the docs repo instead of fetching it, e.g. ln -s ../Konecty.Docs src
- assuming docs were pulled as a sibling to the generator.
Compile assets and serve the transformed pages locally:
npm run serve
It will also create a build
directory with the static pages.
- Make edits to the files in
src
directory - metalsmith will hot reload and compile your changes
- Test using a browser
- Repeat 1 if required
git push
the tested final changes back toKonecty.Docs
If you are adding files or directories to the docs, the hot reload will not see those files/directories until you restart gulp
.