kaitai.io - Kaitai Project homepage
Kaitai Struct homepage at kaitai.io is a static site generated by Jekyll and hosted on GitHub Pages.
Jekyll generates static output .html files from source Markdown (.md) pages and a few .html layouts (templates) from folder _layouts/.
The Markdown dialect used is kramdown. Here's the syntax quick reference guide.
The site uses Bootstrap v3.3.6 to simplify CSS coding and to ensure the decent appearance and design of the page.
Jekyll configuration is present in file _config.yml. Possible configuration options can be found in the Jekyll docs.
You need to have Jekyll installed on your machine to be able to build the generated site locally. Run jekyll --version to find out. If you don't have it, try running:
gem install jekyllIf this fails, follow the Jekyll installation guide for your OS.
The site uses these plugins (see plugins key in _config.yml):
Install them using:
gem install jekyll-redirect-fromTo build the site and place the generated files into the _site/ folder, run:
jekyll buildFor local development, however, using jekyll build is inconvenient because it only runs once, so you would have to run it manually after each change to the source files. Much more useful command is:
jekyll serveIt builds the site, launches a local server at http://127.0.0.1:4000/, watches the source files and rebuilds the site every time they are changed. This makes local development much easier.