Commit Graph

41 Commits

Author SHA1 Message Date
peterdesmet 5ff90b28d3 Revert to using term_versions.csv for QRG build script 2020-08-13 10:08:11 +02:00
peterdesmet 6b1186429f Reference #253 in build script 2020-08-07 21:46:51 +02:00
peterdesmet 5aa48c8a4f Update the build script to work from the generated_normative_document.csv 2020-08-07 21:40:32 +02:00
Peter Desmet 6c467788fd Move terms.tmpl to build 2018-10-29 19:50:13 +01:00
Peter Desmet 0feaeeb048 Add examples 2018-10-15 13:24:32 +02:00
Peter Desmet 7a0eded11b Trim blocks 2018-10-15 13:24:09 +02:00
Peter Desmet 7993b5cbe4 Update term layout
- Drop mb-3: is default on .table
- Use table-bordered (will border all cells rather than outline)
- Combine anchors in an invisible paragraph (is rendered as paragraph from markdown anyway)
- Only add regular anchor for none dwciri
2018-10-15 13:23:56 +02:00
stijnvanhoey 6b934652b0 Clean documentation 2018-10-14 12:14:05 +02:00
stijnvanhoey a1c9a2966a Fix #197 2018-10-14 12:09:40 +02:00
Peter Desmet 6be8ca8440 Point build script to term_versions 2018-10-10 16:34:21 +02:00
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
Peter Desmet e3ba72883e Move quick guide template to _layouts 2018-08-27 11:44:25 +12:00
stijnvanhoey f72460a0f8 Convert to jinja2 API 2017-12-06 20:20:31 +01:00
Peter Desmet 0d70d84d58 Use class_group instead of group in template
We generally refer to these groups as classes. class is a reserved name though, so have to use class_group instead, which is also the variable name used in the build script
2017-10-12 12:28:17 -04:00
Peter Desmet 20b9d8a0d0 Use labels instead of local names in build script and template 2017-10-12 12:26:07 -04:00
Peter Desmet 8de5d4edcb Set namespace of Record-level to None
There is no need for one
2017-10-06 19:08:42 -04:00
Peter Desmet b70e6c02b6 Rephrase print messages of build script 2017-10-06 19:08:21 -04:00
stijnvanhoey 06ed8fa8d3 Fix bug on handling < code 2017-10-03 18:53:20 +02:00
stijnvanhoey 0548e67571 Add convert functionality for backticks to html tags 2017-10-03 17:37:59 +02:00
stijnvanhoey 26e8295e80 Update docs 2017-10-03 01:22:27 +02:00
stijnvanhoey 4aa1c072d4 Fix bug on trailing paranthesis 2017-10-03 01:21:17 +02:00
stijnvanhoey 0a4d22fda0 Update docs 2017-10-02 22:36:24 +02:00
stijnvanhoey bbcc074d9a Add functionality that converts link to html tagged link 2017-10-02 22:31:33 +02:00
Peter Desmet 439462ea75 Merge branch 'master' into restructure-repo
Conflicts:
	build/build.py
2017-10-02 11:56:49 -04:00
Peter Desmet adb4413398 Move term_versions to standard/vocabularies/term_versions.csv 🦄
In response to #150
2017-10-02 11:49:03 -04:00
Peter Desmet 5fb296d56a Move quick reference guide to www/guides/ 2017-10-02 11:47:06 -04:00
stijnvanhoey c8f5a0cbb7 Update documentation 2017-10-01 17:32:49 +02:00
stijnvanhoey 91a1dd3140 Make term definition work on iri instead of dict 2017-10-01 17:27:49 +02:00
stijnvanhoey 30c7b53ba3 Provide the template data as class attribute 2017-10-01 17:26:07 +02:00
stijnvanhoey 97ccad60cb Add support for namespace abbreviations 2017-10-01 16:58:17 +02:00
stijnvanhoey c3cea5028b Represent term overviews as property 2017-10-01 16:58:00 +02:00
stijnvanhoey f0d93e5c6b Improve readbility of config terms 2017-10-01 16:57:04 +02:00
stijnvanhoey b29cb6a5f5 Provide support for namespace abbreviations in data-model 2017-10-01 16:49:12 +02:00
stijnvanhoey 5ce9004b20 Improve docs and syntax 2017-10-01 16:08:14 +02:00
stijnvanhoey 409de7078a Bugfixes on simple dwc flag 2017-10-01 15:23:58 +02:00
stijnvanhoey 31d7bdbb17 Update to newly proposed file naming 2017-10-01 15:10:29 +02:00
stijnvanhoey 69beecf70e Add simple dwc derivatives 2017-10-01 15:10:29 +02:00
Peter Desmet 7c30ee2916 Update template to Bootstrap4
- Use dev.tdwg.org stylesheet and JS
- Navbar only contains lik to TDWG
- Sidebar is shown as fixed on bigger screens
- Offset used for anchors
- Terms are a definition list
- List classes and terms (except Record-level)
- Footer removed
2017-09-30 16:34:56 -04:00
Peter Desmet 9d658db3c3 Remove label, rename dcterms_description to comments 2017-09-30 16:32:04 -04:00
Peter Desmet 9a42e1cd42 Rename terms_config to terms 2017-09-30 16:27:54 -04:00
stijnvanhoey bb631c05a1 Move build code inside build folder 2017-09-30 18:27:11 +02:00