Peter Desmet
e14dd43047
Update README for build script
2018-10-15 13:36:55 +02: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
7e329c8e69
Update README info
2018-10-14 12:14:19 +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
d7e05d2a18
Merge pull request #201 from tdwg/docs_website
...
Update Darwin Core website
2018-10-10 13:19:34 +02:00
tucotuco
58058a245c
First step to reorganize terms management to combine normative definitions (old term_versions.csv) with non-normative commentaries on recommended terms (terms.csv) and prepare to manage translations.
2018-08-29 10:30:19 +12: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
Peter Desmet
7aa6e587ea
Update template to use production tdwg-theme
...
- Add favicons
- Use theme-nav-sidebar
- Remove custom css
- Don't use sticky-top navbar (= not use in tdwg.org either)
- Update dev to www
2018-07-25 17:28:45 +02:00
Peter Desmet
221eed3209
Add institutionID back (carriage return missing)
...
Error was introduced in #183
2018-05-21 10:21:07 +02:00
Dag Endresen
c387f1751d
Update terms.csv
2018-05-17 08:27:40 +02:00
tucotuco
df05056110
Updated examples for sex, lifeStage, and nomenclaturalCode.
2018-05-07 14:06:55 -03:00
Peter Desmet
d7aa88b3f1
Correct typo
2018-04-25 12:23:31 +02:00
Peter Desmet
4147a4eaa7
Update index.tmpl to fit update tdwg-theme + sidebar right
...
Now makes use of code at: 967ae804fd
Notes:
* Same HTML structure + classes as tdwg website
* Navbar is still sticky-top, so that the fixed sidebar doesn't seem to hang with weird margin above
* .col-md-9 for content is still mandatory
* Sidebar is on the right (.order-md-2)
* Sidebar has width: calc() trick so it keeps some margin to the right
* Sidebar = .tdwg-sidebar-primary, so it matches in colour (orange) with the dwc classes (as it was before)
* Term buttons are .btn-outline-secondary, so they match in colour (blue) with the dwc terms (as it was before)
2018-01-29 16:22:55 +01:00
Peter Desmet
5a35c10c4c
Escape quotes for "convenience property"
...
Should result in better rendering of the csv on GitHub
2018-01-18 09:31:45 +01:00
stijnvanhoey
1e882adc12
Fix missing variable addition term.iri
2017-12-08 10:04:16 +01:00
stijnvanhoey
21c1be734a
Update requirements
2017-12-06 20:29:13 +01:00
stijnvanhoey
e5a00fee83
Update to jinja2 templating syntax
2017-12-06 20:25:57 +01:00
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