Ensure you have installed everything listed in the dependencies section before following the instructions.
Important: gh-pages branch is auto generated. Please do not edit it manually, otherwise your changes will be lost.
- Docker
- Ammonite
-
Install Docker (if not already installed)
-
Build the docker image:
docker build . -t jekyll -
Run it (from this folder)
docker run --rm -it -v $(pwd):/site-docs -p 4000:4000 jekyll watch -
Visit the site at http://localhost:4000/marathon/ (note the trailing slash)
Rendering the complete documentation (no incremental rebuild, the end result of what will be published)
-
Install Ammonite-REPL if you don't have it.
-
Install Docker
-
Run the script:
$ cd ci $ ./generate_docs.sc -
Enjoy your docs at http://localhost:8080/
-
Run the script with a publish flag:
$ ./generate_docs.sc --publish true --preview false
--remote <git remote>specifies a git remote where docs will be published (useful for testing)--preview falsedisables preview--release_commits_override 1.6=hash1,1.5=hash2allows to use a specific commits instead of latest tags for each respective branch--ignored_versions 1.7ignores provided minor version when generating/publishing docs.