These documentation source files are compiled into eemeli.org/yaml using a Slate instance that's a git submodule of this repo at docs-slate/.
- Modify these source files, noting that sections are defined in
index.html.md - Make sure that the Slate submodule is properly initialised. If you've just cloned the repo, the command you'll want is
git submodule update --init - Note that
docs-slate/sourcecontains symlinks to this folder, which may need extra configuration to work in Windows environments - See docs-slate/README.md for its install instructions
- Use
npm run docsfrom this repo's root to preview the site at http://localhost:4567
In addition to the preview steps:
- Add this repo as the "yaml" remote for the
docs-slatesubmodule repo:git remote add yaml git@github.com:eemeli/yaml.git - Run the
deploy.shscript from thedocs-slatefolder