stijnvanhoey
f72460a0f8
Convert to jinja2 API
2017-12-06 20:20:31 +01:00
Peter Desmet
85b1c12c22
Fix identifier for terms (was linking to class)
2017-10-12 12:29:07 -04: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
tucotuco
70d7a9f95a
Updated recommendation for language to RFC 5646.
2017-10-11 13:32:48 -07:00
Peter Desmet
84ee9985ad
Add namespace to anchors for terms
...
It's not added for groups/classes because a colon in an anchor doesn't work with Scrollspy, which is used to indicate in which class/group you are in the menu on the left.
2017-10-07 17:15:34 -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
Peter Desmet
6d31585c11
Merge branch 'master' into coderendering
2017-10-03 14:24:23 -04:00
stijnvanhoey
f008fb1255
Merge branch 'coderendering' of github.com:tdwg/dwc into coderendering
2017-10-03 18:53:36 +02:00
stijnvanhoey
06ed8fa8d3
Fix bug on handling < code
2017-10-03 18:53:20 +02:00
Peter Desmet
dd1f39ef4c
Update useWithIri to useWithIRI
...
Closes #154
2017-10-03 12:17:53 -04:00
Peter Desmet
edbb5712a8
Update incorrectly quoted "convenience property"
2017-10-03 12:11:08 -04:00
Peter Desmet
b998b9a77b
Use Markdown ticks for examples (" -> `)
...
Also:
- Corrected some typos
- Standardized way of referencing terms: `value`(term)
- Write DOIs as https://doi.org/ ...
2017-10-03 12:00:54 -04: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
tucotuco
0976291e6a
Amendments to remove recommendations for controlled vocabularies from definitions into commentaries. Finished adding references to external documentation and translations.
2017-10-01 03:10:12 -04:00
tucotuco
a2b5ba578f
Added column in build/config/terms to signify terms for Simple Darwin Core. Move of recommendations from definitions to build/config/terms in progress.
2017-09-30 21:56:49 -04:00
tucotuco
7c83019ed8
Added missing UseWithIri class to term_versions. Partial update of vocabulary recommendations in build/config/terms.
2017-09-30 19:30:58 -04:00
Peter Desmet
9ba2b8eb19
Merge branch 'master' into quick-ref-guide
2017-09-30 19:12:45 -04:00
Peter Desmet
374b982321
Add Class / Property badges
2017-09-30 18:56:34 -04:00
Peter Desmet
944d2116e1
Add link to GitHub in the menu
2017-09-30 18:56:23 -04:00
tucotuco
cb27ac07fc
Added organizing class for dwciri terms and ordered dwciri terms alphabetically.
2017-09-30 18:37:29 -04:00
Peter Desmet
8093989091
Update introduction
2017-09-30 18:13:59 -04:00
Peter Desmet
0ee8ffcf47
Reduce height of sidebar
2017-09-30 17:51:34 -04:00
Peter Desmet
1cd603a007
Use buttons instead of pills for group terms
2017-09-30 17:51:25 -04:00
Peter Desmet
b848e2e0b0
Use tables instead of definition lists for terms & classes
2017-09-30 17:51:12 -04:00
tucotuco
0ad0000d6f
Added Darwin Core IRI terms to config/terms.csv.
2017-09-30 17:45:28 -04:00
Peter Desmet
886025b2bc
Move Human/MachineObservation just before Location
2017-09-30 16:54:16 -04: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
stijnvanhoey
188c422fa8
Confirm to proposed repo structure
2017-09-30 16:53:34 +02:00
stijnvanhoey
ba19c47ffa
Update to py3
2017-09-30 16:49:38 +02:00
stijnvanhoey
998a2e5449
Add template generation functions
2017-09-30 16:49:25 +02:00
stijnvanhoey
f4b712acee
version and config class handlers
2017-09-30 16:48:27 +02:00
stijnvanhoey
675eca4d95
Update date of modification
2017-09-30 16:46:54 +02:00
stijnvanhoey
92d9c19c1f
Adapt name to config name
2017-09-30 15:41:02 +02:00
stijnvanhoey
ef5225a2cb
Remove unrequired terms in template
2017-09-30 15:40:18 +02:00
stijnvanhoey
f13d954507
Add classes for config and version handling
2017-09-30 06:44:59 +02:00
stijnvanhoey
75d7e8e28e
Fix capital typos config
2017-09-30 06:44:25 +02:00
Peter Desmet
ea2b293a08
Add configuration for the recommended terms, incl. order, labels, examples 🐲
...
Created at the Ottawa 2017 hackathon by @tucotuco @baskaufs @peterdesmet @pzermoglio @stijnvanhoey
2017-09-30 00:24:50 -04:00
Peter Desmet
59d14d5e9e
Correct HTML validation errors
2017-09-29 22:29:13 -04:00
Peter Desmet
d2f347f9ed
Anchor start below fixed header
...
* For header, sections, use id in tag
* For tables, prepend with <a>
2017-09-29 22:21:48 -04:00
Peter Desmet
e0611823c6
Update terms template
...
* Use col-md-3 and 9
* No longer use dec-table
2017-09-29 22:21:33 -04:00
Peter Desmet
80f9190d90
Update header.inc
...
Now includes description in page-header
2017-09-29 22:17:46 -04:00
Markus Döring
e5107ee40d
Improve site generator to use simple file metadata in capital words at the top of the MD file. Detect menu entry automatically based on path
2017-09-29 22:17:46 -04:00
Markus Döring
3235bae8f1
Add a simple markdown site generator script, see https://github.com/tdwg/dwc/issues/76
2017-09-29 22:17:46 -04:00
Peter Desmet
18710f5b54
Update table CSS
2017-09-29 22:17:46 -04:00
Markus Döring
190e884fc1
Write script readme and migrate xml guide to new design
2017-09-29 22:16:13 -04:00
Peter Desmet
ac7b3fef00
Group <col>
2017-09-29 22:12:55 -04:00
Peter Desmet
34a2ce2be7
Switch class and id
2017-09-29 22:11:57 -04:00
Peter Desmet
a2f809cca1
Use <a> anchors and .dwc-table
2017-09-29 22:11:40 -04:00
Peter Desmet
e98ed9d4b5
Consistent titles
2017-09-29 22:09:46 -04:00
Peter Desmet
130a76f696
Remove incorrect active class
2017-09-29 22:09:33 -04:00
Peter Desmet
30157eae5b
Always add index.html
2017-09-29 22:08:02 -04:00
Markus Döring
31912a4dbf
Update inline link anchor regex to avoid brackets and ending dots
2017-09-29 22:07:50 -04:00
Markus Döring
4ab43810ff
Remove dcterms: prefix from term page build script
2017-09-29 22:07:34 -04:00
Peter Desmet
0e7c94519e
Rename term decisions history
2017-09-29 22:01:57 -04:00
Peter Desmet
c7cab97ec8
Remove link to references page
2017-09-29 22:01:45 -04:00
Markus Döring
53f6ea30fd
Adding generation of resources files to update script
2017-09-29 22:01:07 -04:00
Peter Desmet
378225f8f4
Update terms to create valid HTML
2017-09-29 21:23:39 -04:00
Peter Desmet
3ea67e14d9
Update schema from DC from dcterms
2017-09-29 21:23:22 -04:00
Peter Desmet
a1c2f07b00
Update footer
...
* Remove long citation
* Add modified date
* Add edit on GitHub
2017-09-29 21:23:05 -04:00
Peter Desmet
b81c19e638
Remove term-index class
2017-09-29 21:22:43 -04:00
Peter Desmet
a68f78208d
Style terms table
2017-09-29 21:22:25 -04:00
Peter Desmet
e34f4d43c2
Rename downloads to resources
2017-09-29 18:48:35 -04:00
Markus Döring
f55e8c7fa9
update yaml and implement graph/yaml consistency check. Add local bootstrap assets
2017-09-29 18:48:20 -04:00
Peter Desmet
95a1562a76
Add terms-sidebar
2017-09-29 18:48:00 -04:00
Peter Desmet
528762e257
Update terms.tmpl and re-render
2017-09-29 18:46:24 -04:00
Peter Desmet
a6c392bdec
Update terms.tmpl
2017-09-29 18:45:49 -04:00
tucotuco
d3196dfa62
Simplification of the introduction to the Terms page.
2017-09-29 18:45:34 -04:00
Peter Desmet
428f5aaf59
Correct reference to css
2017-09-29 18:45:33 -04:00
Peter Desmet
888d694c12
Path for UTF-8 bug with Döring
2017-09-29 18:45:18 -04:00
Peter Desmet
1575a0aef4
Update template
2017-09-29 18:44:30 -04:00
Peter Desmet
6ec8f56269
Rename template to terms
2017-09-29 18:44:30 -04:00
Markus Döring
34e47314f4
update terms reference layout according to https://github.com/tdwg/dwc/issues/68
2017-09-29 18:43:27 -04:00
Markus Döring
c81cbe681d
remove unused rdf styelsheets
2017-09-29 18:37:45 -04:00
Markus Döring
b907e1a718
finish dc.yaml and update script
2017-09-29 18:35:09 -04:00
Markus Döring
212f893f13
Adding new build source files and a reference template
2017-09-29 18:34:47 -04:00