This is Jodd web site built with nanoc.
All submissions are welcome. To submit a change, fork this repo, commit your changes, and send us a pull request.
Ruby 2.x is required to build the site.
Get the nanoc gem, plus kramdown
for Markdown parsing:
$ bundle installYou can see the available commands with nanoc:
$ bundle exec nanoc -hNanoc has some nice documentation to get you started. Though if you're mainly concerned with editing or adding content, you won't need to know much about nanoc.
Nanoc compiles the site into static files living in ./output. It's
smart enough not to try to compile unchanged files:
$ bundle exec nanoc compileYou can setup whatever you want to view the files. If using the adsf
gem (as listed in the Gemfile), you can start Webrick:
$ bundle exec nanoc view
$ open http://localhost:3000Compilation times got you down? Use guard (recommended) in separate terminal:
$ bundle exec guard...or autocompile:
$ bundle exec nanoc autocompileThis starts a web server too, so there's no need to run nanoc view.
We have custom javascript search engine and you need to execute:
$ bundle exec nanoc sdto generate JSON search data file.