Skip to content

Commit

Permalink
add geoimagenet and weaver docs refs + use lists with descriptions fo…
Browse files Browse the repository at this point in the history
…r nested pages + add page description in metad head
  • Loading branch information
fmigneault committed Apr 23, 2024
1 parent 7f44c07 commit 225f7c6
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 2 deletions.
61 changes: 61 additions & 0 deletions _includes/ref-pages.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@

<dl>

{% comment %}
Explicit listing of page references to include.

These should point at an existing documentation nested under `crim-ca` organization,
and published using the `gh-pages` branch of the corresponding repository.

Alternatively, it can be used to refer to an external documentation to provide a shortcut.
{% endcomment %}

<dt><a href="/geoimagenet/">GeoImageNet</a></dt>
<dd>
GeoImageNet is a collaborative research and annotation platform for researchers from different backgrounds
who wish to develop innovative algorithms for the exploitation of very high resolution (VHR) satellite images
for various applications.
</dd>

<dt><a href="https://pavics-weaver.readthedocs.io/">Weaver</a></dt>
<dd>
Weaver is an OGC-API flavored <i>Execution Management Service</i>&nbsp(EMS) that allows the execution of
workflows chaining various applications and <i>Web Processing Services</i>&nbsp(WPS) inputs and outputs.
Remote execution is deferred by the EMS to one or
many <i>Application, Deployment and Execution Service</i>&nbsp(ADES) or remote service providers,
and employs <i><a href="https://www.commonwl.org/">Common Workflow Language</a></i>&nbsp(CWL) configurations
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>
deployed for each process.
</dd>


{% comment %}
List directories which are in the current directory with a 'index' page.
{% endcomment %}

{% for item in site.pages %}
{% assign item_crumbs = item.url | remove_first: page.dir | split: '/' %}

{% if item_crumbs.size == 1 and item.name == 'index.md' %}
<dt><a href="{{ item.url | relative_url }}">{{ item.title }}</a></dt>
{% if item.description %}
<dd>{{ item.description }}</dd>
{% endif %}
{% endif %}
{% endfor %}


{% comment %}
List pages in same directory as the current page, excluding the page itself.
{% endcomment %}

{% for item in site.pages %}
{% if item.dir == page.dir and item.path != page.path %}
<dt><a href="{{ item.url | relative_url }}">{{ item.title }}</a></dt>
{% if item.description %}
<dd>{{ item.description }}</dd>
{% endif %}
{% endif %}
{% endfor %}

</dl>
3 changes: 3 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if page.description %}
<meta name="description" content="{{ page.description }}">
{% endif %}
<link rel="icon" type="image/x-icon" href="https://www.crim.ca/favicon.ico">

<title>CRIM{%if page.title %} – {% endif %}{{ page.title }}</title>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

<h2>Pages</h2>

{% include list-pages.html %}
{% include ref-pages.html %}
3 changes: 2 additions & 1 deletion stac/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: page
title: STAC schemas under CRIM repositories
title: STAC
description: STAC schemas under CRIM repositories
---

<!-- fixme: automate -->
Expand Down

0 comments on commit 225f7c6

Please sign in to comment.