forked from openingscience/book
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Martin Fenner edited this page Jan 21, 2014
·
3 revisions
- Git
- Ruby
- Jekyll
- Pandoc
The book HTML is converted from markdown using the Jekyll static site generator and the Pandoc document converter. To produce the book locally you first have to check out the git repo, go into the root folder of the repo and then do the following:
bundle install
bundle exec jekyll serve
After this command succeeds you can access the site at http://localhost:4000
. The site is built in the folder ../openingscience.github.io/
(so that we can push to Github pages), but you can change the destination folder in the _config.yml
file.
Pandoc is needed for formatting citations, and some Pandoc-specific markdown. The citation style used by Pandoc can be changed in config.yml
.