Skip to content

Commit fdc24c9

Browse files
committed
algorithm catalogue: added guides pointing to existing docs
1 parent 305dde1 commit fdc24c9

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

_quarto.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ website:
8080
text: Ingesting STAC metadata in APEx Product Catalogue
8181
- href: guides/catalog_openeo.ipynb
8282
text: Linking APEx Product Catalogue with an openEO service
83+
- section: APEx Algorithm Services Catalogue
84+
contents:
85+
- href: guides/algorithm_services_catalogue.qmd
86+
- href: guides/algorithm_services_catalogue_benchmarks.qmd
8387
- href: guides/file_formats.qmd
8488
text: File format recommendations
8589
- section: User Guides
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Registering your service
3+
jupyter: python3
4+
execute:
5+
echo: false
6+
---
7+
8+
```{python}
9+
#| output: asis
10+
import requests
11+
url = "https://raw.githubusercontent.com/ESA-APEx/apex_algorithms/main/docs/catalogue.md"
12+
r = requests.get(url)
13+
r.raise_for_status()
14+
15+
# Convert images to use absolute URLs
16+
base_url = "https://raw.githubusercontent.com/ESA-APEx/apex_algorithms/main/docs/"
17+
content = r.text.replace("](images/", f"]({base_url}images/")
18+
19+
print(content)
20+
```
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Creating benchmarks for your service
3+
jupyter: python3
4+
execute:
5+
echo: false
6+
---
7+
8+
```{python}
9+
#| output: asis
10+
import requests
11+
url = "https://raw.githubusercontent.com/ESA-APEx/apex_algorithms/main/docs/benchmarking.md"
12+
r = requests.get(url)
13+
r.raise_for_status()
14+
15+
# Convert images to use absolute URLs
16+
base_url = "https://raw.githubusercontent.com/ESA-APEx/apex_algorithms/main/docs/"
17+
content = r.text.replace("](images/", f"]({base_url}images/")
18+
19+
print(content)
20+
```

0 commit comments

Comments
 (0)