This folder contains the content and scripts for building the HTML guide component to Git-it.
First, make sure once you've cloned git-it
that you run npm-install
to fetch the modules you'll need.
Edit .html
files in /raw-content.
In /git-it
in terminal, run npm run build
.
To build the Chinese version, run npm run build-zhtw
.
The HTML for the header and footer are in /partials
and the assests (css, js and images) are in /assets
. The layout templated used for the pages is layout.hbs
.
The buildpages.js
contains all the scripting for creating the sites. It pulls the body content from /raw-content
, the header and footer content from /partials
and the layout template form layout.hbs
.
The index.html
page is currently built bespoke, by hand, such artisan. Wow.