Skip to content

Commit 225f7c6

Browse files
committed
add geoimagenet and weaver docs refs + use lists with descriptions for nested pages + add page description in metad head
1 parent 7f44c07 commit 225f7c6

File tree

4 files changed

+67
-2
lines changed

4 files changed

+67
-2
lines changed

_includes/ref-pages.html

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
2+
<dl>
3+
4+
{% comment %}
5+
Explicit listing of page references to include.
6+
7+
These should point at an existing documentation nested under `crim-ca` organization,
8+
and published using the `gh-pages` branch of the corresponding repository.
9+
10+
Alternatively, it can be used to refer to an external documentation to provide a shortcut.
11+
{% endcomment %}
12+
13+
<dt><a href="/geoimagenet/">GeoImageNet</a></dt>
14+
<dd>
15+
GeoImageNet is a collaborative research and annotation platform for researchers from different backgrounds
16+
who wish to develop innovative algorithms for the exploitation of very high resolution (VHR) satellite images
17+
for various applications.
18+
</dd>
19+
20+
<dt><a href="https://pavics-weaver.readthedocs.io/">Weaver</a></dt>
21+
<dd>
22+
Weaver is an OGC-API flavored <i>Execution Management Service</i>&nbsp(EMS) that allows the execution of
23+
workflows chaining various applications and <i>Web Processing Services</i>&nbsp(WPS) inputs and outputs.
24+
Remote execution is deferred by the EMS to one or
25+
many <i>Application, Deployment and Execution Service</i>&nbsp(ADES) or remote service providers,
26+
and employs <i><a href="https://www.commonwl.org/">Common Workflow Language</a></i>&nbsp(CWL) configurations
27+
to define an <i><a href="https://github.com/opengeospatial/ogcapi-processes/blob/master/openapi/schemas/processes-dru/ogcapppkg.yaml">OGC Application Package</a></i>
28+
deployed for each process.
29+
</dd>
30+
31+
32+
{% comment %}
33+
List directories which are in the current directory with a 'index' page.
34+
{% endcomment %}
35+
36+
{% for item in site.pages %}
37+
{% assign item_crumbs = item.url | remove_first: page.dir | split: '/' %}
38+
39+
{% if item_crumbs.size == 1 and item.name == 'index.md' %}
40+
<dt><a href="{{ item.url | relative_url }}">{{ item.title }}</a></dt>
41+
{% if item.description %}
42+
<dd>{{ item.description }}</dd>
43+
{% endif %}
44+
{% endif %}
45+
{% endfor %}
46+
47+
48+
{% comment %}
49+
List pages in same directory as the current page, excluding the page itself.
50+
{% endcomment %}
51+
52+
{% for item in site.pages %}
53+
{% if item.dir == page.dir and item.path != page.path %}
54+
<dt><a href="{{ item.url | relative_url }}">{{ item.title }}</a></dt>
55+
{% if item.description %}
56+
<dd>{{ item.description }}</dd>
57+
{% endif %}
58+
{% endif %}
59+
{% endfor %}
60+
61+
</dl>

_layouts/default.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<meta charset="utf-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
{% if page.description %}
9+
<meta name="description" content="{{ page.description }}">
10+
{% endif %}
811
<link rel="icon" type="image/x-icon" href="https://www.crim.ca/favicon.ico">
912

1013
<title>CRIM{%if page.title %} – {% endif %}{{ page.title }}</title>

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
<h2>Pages</h2>
99

10-
{% include list-pages.html %}
10+
{% include ref-pages.html %}

stac/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: page
3-
title: STAC schemas under CRIM repositories
3+
title: STAC
4+
description: STAC schemas under CRIM repositories
45
---
56

67
<!-- fixme: automate -->

0 commit comments

Comments
 (0)