mirror of https://github.com/tdwg/dwc.git
82807f9e78
Close https://github.com/tdwg/dwc/issues/212 |
||
---|---|---|
.. | ||
README.md | ||
build.py | ||
requirements.txt | ||
terms.tmpl |
README.md
Build script
The build script build.py
uses as input:
- vocabulary/term_versions.csv: the list of terms
- terms.tmpl: a Jinja2 template for the quick reference guide
To create:
- The quick reference guide as a Markdown file at docs/terms/index.md. The guide is build as Markdown (with a lot of included html) rather than html, so it can incorporated by Jekyll in the Darwin Core website (including a header, footer and table of content).
- Two simple Darwin Core CSV files in dist/
Run the build script
-
Install the required libraries (once):
pip install -r requirements.txt
-
Run the script from the command line:
python build.py