dwc/build
Peter Desmet 906c36bc62 Build quick ref guide as markdown
Building the quick reference guide as a html file doesn't allow it to use the Jekyll templates (header, navbar, footer). We also can't reference those templates in the terms.tmpl as jinja2 and jekyll work slightly different.

But by building the quick reference to a markdown document (with just the content, no html header etc.) it can be picked up by Jekyll like any other markdown file. The markdown file does contain mostly html, so we can style it exactly like we want.
2018-08-27 11:50:38 +12:00
..
config Move quick guide template to _layouts 2018-08-27 11:44:25 +12:00
README.md Move build code inside build folder 2017-09-30 18:27:11 +02:00
build.py Build quick ref guide as markdown 2018-08-27 11:50:38 +12:00
requirements.txt Update requirements 2017-12-06 20:29:13 +01:00

README.md

The build folder contains a python script to rebuild the terms index page.

It will use the vocabulary/term_versions.csv and the ./config/terms_config.csv to populate the html-template file (./config/index.tmpl)

Run the build script

Install the required libraries for this script with pip once:

pip install -r requirements.txt

To run the script, run the build script from command line:

python build.py