Skip to content

Commit 0a53d0c

Browse files
committed
move tools into yaml file to make it easy to contribute
1 parent 4bc7769 commit 0a53d0c

File tree

2 files changed

+49
-17
lines changed

2 files changed

+49
-17
lines changed

_data/tools.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
javascript:
2+
- name: covjson-reader
3+
url: https://github.com/Reading-eScience-Centre/covjson-reader
4+
description: A CovJSON reader supporting subsetting and lazy loading.
5+
6+
- name: leaflet-coverage
7+
url: https://github.com/Reading-eScience-Centre/leaflet-coverage
8+
description: A Leaflet plugin for visualizing CovJSON and other coverage data.
9+
10+
- name: webworldwind-covjson (WIP)
11+
url: https://github.com/Reading-eScience-Centre/webworldwind-covjson
12+
description: A Web World Wind plugin for visualizing CovJSON and other coverage data.
13+
14+
java:
15+
- name: ncWMS
16+
url: https://reading-escience-centre.gitbooks.io/ncwms-user-guide/content/
17+
description: A WMS server with CovJSON as output format.
18+
19+
python:
20+
- name: pycovjson (WIP)
21+
url: https://github.com/Reading-eScience-Centre/pycovjson
22+
description: Transforms common scientific data formats like netCDF into CovJSON.

tools.html

+27-17
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,12 @@ <h2>Tools</h2>
2121
<div class="panel-heading"><h3>JavaScript</h3></div>
2222

2323
<div class="list-group">
24-
<a href="https://github.com/Reading-eScience-Centre/covjson-reader" class="list-group-item">
25-
<h4 class="list-group-item-heading">covjson-reader</h4>
26-
<p class="list-group-item-text">A CovJSON reader supporting subsetting and lazy loading.</p>
27-
</a>
28-
<a href="https://github.com/Reading-eScience-Centre/leaflet-coverage" class="list-group-item">
29-
<h4 class="list-group-item-heading">leaflet-coverage</h4>
30-
<p class="list-group-item-text">A Leaflet plugin for visualizing CovJSON and other coverage data.</p>
31-
</a>
32-
<a href="https://github.com/Reading-eScience-Centre/webworldwind-covjson" class="list-group-item">
33-
<h4 class="list-group-item-heading">webworldwind-covjson (WIP)</h4>
34-
<p class="list-group-item-text">A Web World Wind plugin for visualizing CovJSON and other coverage data.</p>
24+
{% for tool in site.data.tools.javascript %}
25+
<a href="{{ tool.url }}" class="list-group-item">
26+
<h4 class="list-group-item-heading">{{ tool.name }}</h4>
27+
<p class="list-group-item-text">{{ tool.description }}</p>
3528
</a>
29+
{% endfor %}
3630
</div>
3731
</div>
3832
</div>
@@ -41,10 +35,12 @@ <h4 class="list-group-item-heading">webworldwind-covjson (WIP)</h4>
4135
<div class="panel-heading"><h3>Java</h3></div>
4236

4337
<div class="list-group">
44-
<a href="https://reading-escience-centre.gitbooks.io/ncwms-user-guide/content/" class="list-group-item">
45-
<h4 class="list-group-item-heading">ncWMS</h4>
46-
<p class="list-group-item-text">A WMS server with CovJSON as output format.</p>
38+
{% for tool in site.data.tools.java %}
39+
<a href="{{ tool.url }}" class="list-group-item">
40+
<h4 class="list-group-item-heading">{{ tool.name }}</h4>
41+
<p class="list-group-item-text">{{ tool.description }}</p>
4742
</a>
43+
{% endfor %}
4844
</div>
4945
</div>
5046
</div>
@@ -53,12 +49,26 @@ <h4 class="list-group-item-heading">ncWMS</h4>
5349
<div class="panel-heading"><h3>Python</h3></div>
5450

5551
<div class="list-group">
56-
<a href="https://github.com/Reading-eScience-Centre/pycovjson" class="list-group-item">
57-
<h4 class="list-group-item-heading">pycovjson (WIP)</h4>
58-
<p class="list-group-item-text">Transforms common scientific data formats like netCDF into CovJSON.</p>
52+
{% for tool in site.data.tools.python %}
53+
<a href="{{ tool.url }}" class="list-group-item">
54+
<h4 class="list-group-item-heading">{{ tool.name }}</h4>
55+
<p class="list-group-item-text">{{ tool.description }}</p>
5956
</a>
57+
{% endfor %}
6058
</div>
6159
</div>
6260
</div>
6361
</div>
62+
<div class="panel panel-primary">
63+
<div class="panel-heading">
64+
<h3 class="panel-title">How to add your tool</h3>
65+
</div>
66+
<div class="panel-body">
67+
Just submit a pull request for the
68+
<a href="https://github.com/covjson/covjson.github.io/blob/master/_data/tools.yaml">tools.yaml</a>
69+
file on GitHub, and once accepted, your tool will appear here immediately.
70+
<a href="https://github.com/covjson/covjson.github.io/issues/new">Create an issue</a>
71+
if your tool is written in a language other than the ones above.
72+
</div>
73+
</div>
6474
</div>

0 commit comments

Comments
 (0)