Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 848 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 848 Bytes

Usage

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.

Workflow

  1. Make edits to the files in src directory
  2. metalsmith will hot reload and compile your changes
  3. Test using a browser
  4. Repeat 1 if required
  5. git push the tested final changes back to Konecty.Docs

Note

If you are adding files or directories to the docs, the hot reload will not see those files/directories until you restart gulp.