Skip to content

Commit 1e79d05

Browse files
Added parents and grandparents, changed files to use the script layout. Fixes #264
1 parent df88e9a commit 1e79d05

File tree

301 files changed

+1164
-4337
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

301 files changed

+1164
-4337
lines changed

_config.yml

-8
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,3 @@ gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into t
2727

2828
plugins:
2929
- jekyll-seo-tag
30-
31-
defaults:
32-
-
33-
scope:
34-
path: "" # an empty string here means all files in the project
35-
type: "pages" # previously `post` in Jekyll 2.2.
36-
values:
37-
layout: "script"

airbus_pleiades/false_color/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: False color infrared product
3+
parent: Airbus Pleiades
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_pleiades/false_color/
37
nav_exclude: true
48
---
59

6-
# False color infrared product
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_pleiades/green_city/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: Green City Script, Pleiades data
3+
parent: Airbus Pleiades
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_pleiades/green_city/
37
nav_exclude: true
48
---
59

6-
# Green City Script, Pleiades data
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_pleiades/green_city_pansharpened/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: Green City - Pleiades Pansharpened Script, Pleiades
3+
parent: Airbus Pleiades
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_pleiades/green_city_pansharpened/
37
nav_exclude: true
48
---
59

6-
# Green City - Pleiades Pansharpened Script, Pleiades
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_pleiades/ndvi/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: Normalized difference vegetation index, Pleiades
3+
parent: Airbus Pleiades
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_pleiades/ndvi/
37
nav_exclude: true
48
---
59

6-
# Normalized difference vegetation index, Pleiades
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_pleiades/ndwi/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: NDWI Normalized Difference Water Index, Pleiades
3+
parent: Airbus Pleiades
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_pleiades/ndwi/
37
nav_exclude: true
48
---
59

6-
# NDWI Normalized Difference Water Index, Pleiades
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_pleiades/true_color/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: True color product, Pleiades
3+
parent: Airbus Pleiades
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_pleiades/true_color/
37
nav_exclude: true
48
---
59

6-
# True color product, Pleiades
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_pleiades/true_color_pansharpened/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: True Color Pansharpened, Pleiades
3+
parent: Airbus Pleiades
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_pleiades/true_color_pansharpened/
37
nav_exclude: true
48
---
59

6-
# True Color Pansharpened, Pleiades
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_spot/false_color/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: False color infrared product, SPOT data
3+
parent: Airbus SPOT
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_spot/false_color/
37
nav_exclude: true
48
---
59

6-
# False color infrared product, SPOT data
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_spot/green_city/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: Green City Script, SPOT data
3+
parent: Airbus SPOT
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_spot/green_city/
37
nav_exclude: true
48
---
59

6-
# Green City Script, SPOT data
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_spot/green_city_pansharpened/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: Green City - Pansharpened Script, SPOT
3+
parent: Airbus SPOT
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_spot/green_city_pansharpened/
37
nav_exclude: true
48
---
59

6-
# Green City - Pansharpened Script, SPOT
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_spot/ndvi/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: Normalized difference vegetation index, SPOT
3+
parent: Airbus SPOT
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_spot/ndvi/
37
nav_exclude: true
48
---
59

6-
# Normalized difference vegetation index, SPOT
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_spot/ndwi/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: NDWI Normalized Difference Water Index, SPOT
3+
parent: Airbus SPOT
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_spot/ndwi/
37
nav_exclude: true
48
---
59

6-
# NDWI Normalized Difference Water Index, SPOT
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_spot/true_color/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: True color product, SPOT
3+
parent: Airbus SPOT
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_spot/true_color/
37
nav_exclude: true
48
---
59

6-
# True color product, SPOT
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

airbus_spot/true_color_pansharpened/README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
---
2+
title: True Color Pansharpened, SPOT
3+
parent: Airbus SPOT
4+
grand_parent: Airbus
5+
layout: script
26
permalink: /airbus_spot/true_color_pansharpened/
37
nav_exclude: true
48
---
59

6-
# True Color Pansharpened, SPOT
7-
8-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
9-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
10-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
11-
{: .mt-lg-4 }
12-
13-
<div id="script" style="display:none;">
14-
{% highlight javascript %}
15-
{% include_relative script.js %}
16-
{% endhighlight %}
17-
</div>
1810

1911
## Evaluate and visualize
2012

contribute/example/README.md

+5-15
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
11
---
2-
layout: default
3-
title: Example
4-
nav_order: 1
2+
title: Example product
53
parent: Contribute
4+
5+
layout: script
66
permalink: /contribute/example/
7+
nav_exclude: true
78
---
89

9-
# Example product
10-
11-
{% assign paths = page.dir | remove_first: "/" | split: "/" | join: "-"%}
12-
<button class="btn btn-primary" id="toggle-script" onclick="toggleScript()">Show Script</button>
13-
[Download Script](script.js){: .btn target="_blank" download="{{paths | append: ".js"}}"}
14-
{: .mt-lg-4 }
15-
16-
<div id="script" style="display:none;">
17-
{% highlight javascript %}
18-
{% include_relative script.js %}
19-
{% endhighlight %}
20-
</div>
10+
The layout `script` automatically adds the title defined in the front matter and adds buttons to visualize the script. For the buttons to work the evalscript has to be named `script.js` and must be in the same directory as the `README.md` file.
2111

2212
## Evaluate and visualize
2313
- [EO Browser](https://apps.sentinel-hub.com/eo-browser/#lat=41.9&lng=12.5&zoom=10&datasource=Sentinel-2%20L1C&time=2017-10-08&preset=CUSTOM&layers=B01,B02,B03&evalscripturl=https://raw.githubusercontent.com/sentinel-hub/customScripts/master/example/script.js){:target="_blank"}

0 commit comments

Comments
 (0)