Sancho is static site generator for Github Pages. It
supposed that your site will be placed in docs directory,
under docs git branch.
For rendering HTML Sancho utilizes Pandoc, and it is supposed that your site
pages will be written in Markdown or Pandoc
Markdown.
By default configuration (sancho.yml) your site will
consists of two files README.md and
CHANGELOG.md. It will also create robots.txt
and sitemap.xml files. When you don’t need them - just
remove *.erb inside _layouts directory.
Run
bundle add sancho --git https://github.com/nvoynov/sancho.git
Modify Rakefile adding
require "rake"
require "sancho"
source, folders = Sancho.tasks
Rake.application.rake_require source, foldersInstall pandoc
$ git checkout docs$ rake sancho:initsancho.yml for pages and
_layouts/header.md for navbar$ rake sancho:generate$ git push -u origin docsYou can provide your own HTML template by placing
_layouts/template.html file. Read Pandoc Templates
section for details.