Commit Graph

574 Commits

Author SHA1 Message Date
tucotuco df05056110 Updated examples for sex, lifeStage, and nomenclaturalCode. 2018-05-07 14:06:55 -03:00
John Wieczorek 66de9fddcf
Merge pull request #182 from tdwg/correct-typo
Correct typo: Celcius -> Celcius
2018-04-25 12:12:05 -03:00
Peter Desmet d7aa88b3f1
Correct typo 2018-04-25 12:23:31 +02:00
Peter Desmet fcad516e2e Build with updated theme 2018-01-29 16:23:18 +01: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
Peter Desmet 1f5d351a55
Merge pull request #174 from tdwg/templating
Use jinja2 templating
2017-12-09 17:03:17 +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 d01c1fd895 Update rendered html 2017-12-06 20:26:17 +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
John Wieczorek fb042cd073
Merge pull request #169 from ansell/patch-2
Fix #143 : Consistent capitalisation of coreId
2017-12-05 14:44:11 +02:00
John Wieczorek f955d0969f
Merge pull request #173 from arbolitoloco/master
Corrected broken link for DC quick reference guide
2017-12-05 14:42:19 +02:00
Laura Rocha Prado 2fbbf4f626
Corrected broken link for DC quick reference guide
Removed wrong index.html path
2017-12-05 10:10:05 -02:00
Peter Desmet 5a274dd57a Proofread Simple DwC guide
Proofread whole guide and did following:

* Don't italize Simple Darwin Core
* Refer to Simple Darwin Core and Darwin Core with "the"
* Remove TEXTGUIDE etc. uppercase words, but link directly
* Correct typo in JSON full name
2017-10-24 21:29:10 +02:00
Peter Desmet 0b90bc7c2d Make Markdown version of Simple DwC guide 2017-10-24 21:28:32 +02:00
Peter Desmet 8141947956 Rebuild with lowerCamelCase labels for Dublin Core terms
Fixes #171
2017-10-17 10:04:00 +02:00
tucotuco 6ef29fc30b Making Dublin Core labels consistent with labels as used in Darwin Core. Avoids confusion with classes and consistency makes human-readable documents easier to construct. 2017-10-12 11:17:34 -07:00
Peter Desmet 014232a78c Run build script
Result

- Makes use of label (which is capitalized for Dublin Core terms #171)
- Adds correct identifier for terms
- Includes some corrections in definitions
- Updates group -> class_group
2017-10-12 12:34:15 -04: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
Peter Desmet f48b137f8f Correct UseWithIri back to UseWithIRI
Decided in #154 and originally done in dd1f39e but got overwritten by 52d43607bf
2017-10-12 11:25:58 -04:00
tucotuco 70d7a9f95a Updated recommendation for language to RFC 5646. 2017-10-11 13:32:48 -07:00
tucotuco aff5c3fe3b First attempt at a complete revised Darwin Core following Vocab Documentation and Manangement standards. 2017-10-11 13:16:11 -07:00
tucotuco 9d6d2952b1 Merge branch 'master' of https://github.com/tdwg/dwc 2017-10-11 13:13:54 -07:00
Peter Ansell 9adb52a538 Fix #143 : Consistent capitalisation of coreId
Fixes the capitalisation of "coreId" in the XSD to match common usage and the Darwin Core Text Guide HTML text.
2017-10-09 08:48:51 +11: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 768121a240 Merge branch 'master' of https://github.com/tdwg/dwc 2017-10-06 14:49:00 -04:00
Peter Desmet 90d9aab315 Clean up repository
Closes #153
2017-10-06 14:48:56 -04:00
tucotuco 52d43607bf Restoring versions with recommendations to their original definitions, as new term versions need to be created instead. 2017-10-06 10:01:55 -04:00
Peter Desmet 64311240ee Correct broken links in README (resulted from restructuring repo) 2017-10-05 11:27:35 -04:00
Stijn Van Hoey 12ffc750ad Merge pull request #161 from tdwg/coderendering
Display example values as <code>example</code>
2017-10-03 20:27:28 +02: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
John Wieczorek 0d1e231c1c Merge pull request #157 from tdwg/renderlinks
Renderlinks
2017-10-03 08:32:21 -04:00
stijnvanhoey 26e8295e80 Update docs 2017-10-03 01:22:27 +02:00
stijnvanhoey 6118aade48 Update index with new regex handling 2017-10-03 01:21:44 +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 b082759d64 Update index build 2017-10-02 22:31:48 +02:00
stijnvanhoey bbcc074d9a Add functionality that converts link to html tagged link 2017-10-02 22:31:33 +02:00