Skip to content

Commit 2923ead

Browse files
author
Serap Aydin
committed
Fix 404 links, links to root cert, release notes, update teams page, events as News, Validator, updated tutorials
1 parent ccd8f2d commit 2923ead

35 files changed

+1946
-41
lines changed

docs/src/.vuepress/config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ export default defineUserConfig({
2727
description: "",
2828
},
2929
},*/
30-
plugins: [ ],
30+
plugins: [
31+
32+
],
3133

3234
// Enable it with pwa
3335
shouldPrefetch: false,

docs/src/.vuepress/layouts/NotFoundLayout.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,21 @@ redirectToParentDirectoryIfInOperations();
2929
3030
});*/
3131
32+
33+
function goBack() {
34+
router.go(-1);
35+
}
36+
37+
function goHome() {
38+
router.push('/');
39+
}
40+
3241
</script>
3342

3443
<template>
3544
<ParentLayout>
3645
<template #default>
37-
<div class="not-found-hint"><p class="error-code">404</p><h1 class="error-title">Page not found</h1><p class="error-hint">That’s a Four-Oh-Four.</p></div><div class="actions"><button type="button" class="action-button">Go back</button><button type="button" class="action-button">Take me home</button></div>
46+
<div class="not-found-hint"><p class="error-code">404</p><h1 class="error-title">Page not found</h1><p class="error-hint">That’s a Four-Oh-Four.</p></div><div class="actions"><button type="button" class="action-button" @click="goBack">Go back</button><button type="button" class="action-button" @click="goHome">Take me home</button></div>
3847
</template>
3948
</ParentLayout>
4049
</template>
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
#!/bin/bash
2+
# To run: chmod +x fetch-versioned-release-notes.sh && ./fetch-versioned-release-notes.sh
3+
4+
# GitHub repository details
5+
REPO_OWNER="datasharingframework"
6+
REPO_NAME="dsf"
7+
8+
# Output base directory (this will hold the versioned folders)
9+
OUTPUT_BASE_DIR="../../operations"
10+
11+
# Define the range of versions (no extra dot after v)
12+
VERSIONS=("v1.0.0" "v1.1.0" "v1.2.0" "v1.3.0" "v1.3.1" "v1.3.2" "v1.4.0" "v1.5.0" "v1.5.1" "v1.5.2" "v1.6.0" "v1.7.0" "v1.7.1" "v1.8.0")
13+
14+
# Fetch all release details
15+
echo "Fetching all releases..."
16+
RELEASES=$(curl -s https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/releases)
17+
18+
# Loop through each version in the version list
19+
for VERSION in "${VERSIONS[@]}"; do
20+
VERSION_FOUND=$(echo "$RELEASES" | jq -r ".[] | select(.tag_name == \"$VERSION\")")
21+
22+
if [ ! -z "$VERSION_FOUND" ]; then
23+
VERSION_DIR="$OUTPUT_BASE_DIR/$VERSION"
24+
25+
if [ ! -d "$VERSION_DIR" ]; then
26+
echo "Directory $VERSION_DIR does not exist. Skipping $VERSION."
27+
continue
28+
fi
29+
30+
OUTPUT_FILE="$VERSION_DIR/release-notes.md"
31+
32+
# Write frontmatter at the top of the Markdown file
33+
cat <<EOF > "$OUTPUT_FILE"
34+
---
35+
title: Release Notes ($VERSION)
36+
icon: note
37+
---
38+
39+
## Release Notes for $VERSION
40+
41+
::: tip Release Notes
42+
You can access all release notes on our [GitHub](https://github.com/datasharingframework/dsf/releases).
43+
:::
44+
45+
EOF
46+
47+
echo "$RELEASES" | jq -r ".[] | select(.tag_name == \"$VERSION\") | @base64" | while read -r RELEASE; do
48+
RELEASE_JSON=$(echo "$RELEASE" | base64 --decode)
49+
RELEASE_BODY=$(echo "$RELEASE_JSON" | jq -r '.body')
50+
RELEASE_NAME=$(echo "$RELEASE_JSON" | jq -r '.name')
51+
52+
echo "### $RELEASE_NAME" >> "$OUTPUT_FILE"
53+
echo "$RELEASE_BODY" >> "$OUTPUT_FILE"
54+
echo "" >> "$OUTPUT_FILE"
55+
done
56+
57+
echo "Release notes for version $VERSION saved to $OUTPUT_FILE"
58+
else
59+
echo "No release found for version $VERSION"
60+
fi
61+
done
62+
63+
echo "Process completed."

docs/src/.vuepress/sidebar/operations-v1.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function generate_v1_latest_sidebar() {
66
icon: "tool",
77
link: "./",
88
},
9-
"install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", "root-certificates", "passwords-secrets", {
9+
"release-notes", "install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", "root-certificates", "passwords-secrets", {
1010
text: "FHIR Reverse Proxy",
1111
icon: "module",
1212
prefix: "fhir-reverse-proxy/",
@@ -80,7 +80,7 @@ export function generate_v1_gt_eq_1_7_0_sidebar() {
8080
link: "./"
8181

8282
},
83-
"install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", "root-certificates", "passwords-secrets", {
83+
"release-notes", "install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", "root-certificates", "passwords-secrets", {
8484
text: "FHIR Reverse Proxy",
8585
icon: "module",
8686
prefix: "fhir-reverse-proxy/",
@@ -151,7 +151,7 @@ export function generate_v1_gt_eq_1_5_0_sidebar() {
151151
text: "Get Started",
152152
icon: "tool",
153153
link: "./",
154-
}, "install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", {
154+
}, "release-notes", "install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", {
155155
text: "FHIR Reverse Proxy",
156156
icon: "module",
157157
prefix: "fhir-reverse-proxy/",
@@ -214,6 +214,7 @@ export function generate_v1_gt_eq_1_5_0_sidebar() {
214214
link: "install-plugins"
215215
},
216216
]
217+
217218
}
218219

219220

@@ -224,7 +225,7 @@ export function generate_v1_gt_eq_1_0_0_sidebar() {
224225
text: "Get Started",
225226
icon: "tool",
226227
link: "./",
227-
}, "install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", {
228+
}, "release-notes", "install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", {
228229
text: "FHIR Reverse Proxy",
229230
icon: "module",
230231
prefix: "fhir-reverse-proxy/",

docs/src/.vuepress/styles/index.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ h1, h2, h3, h4, h5 {
3030
background: #63C7A6 !important;
3131
}
3232

33+
3334
.vp-category-count{
3435
color: black !important;
36+
background: white !important;
3537
}
3638
.page-category-item {
3739
color: black !important;
@@ -44,4 +46,10 @@ h1, h2, h3, h4, h5 {
4446

4547
.vp-sidebar {
4648
font-size: 85%;
49+
}
50+
51+
.vp-blog-hero-title {
52+
font-size: xx-large;
53+
font-weight: bolder;
54+
color: #3F8999;
4755
}

docs/src/community/events/GMDS2022-dev.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/src/community/events/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Events
33
icon: news
44
---
5-
- [MIE 2023](MIE2023.md)
6-
- [GMDS 2022](GMDS2022-dev.md)
5+
## Tutorials
6+
- [MIE 2023](tutorials/2023-05-30-MIE2023.md)
7+
- [GMDS 2022](tutorials/2022-09-10-GMDS2022-dev.md)
78

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: GMDS 2022
3+
icon: code
4+
date: 2022-09-10
5+
type: "news"
6+
excerpt: "The German Society for Medical Informatics, Biometry, and Epidemiology e.V. (GMDS) is an independent scientific and medical society with over 2,000 members. At the GMDS conference 2022, the Data Sharing Framework (DSF) was presented."
7+
category:
8+
- News
9+
tags:
10+
- News
11+
- Events
12+
- Tutorials
13+
---
14+
## GMDS Conference 2022
15+
The German Society for Medical Informatics, Biometry, and Epidemiology e.V. (GMDS) is an independent scientific and medical society with over 2,000 members. At the GMDS conference, the Data Sharing Framework (DSF) was presented, accompanied by a tutorial on implementing Process Plugins for DSF version 0.9.x. You can watch the recordings of the event [here](https://www.youtube.com/playlist?list=PLsHs7HOt6jDMe3PNevpo-uGsDTWVSMsYZ)
16+
17+
##### Implementing BPMN Processes as DSF Process-Plugins
18+
19+
::: warning Outdated Tutorial
20+
Please note that the version presented was designed for DSF < 1.0.0 and that namespaces and other aspects have changed since then. A more recent version of the Tutorial can be found [here](https://github.com/datasharingframework/dsf-process-tutorial).
21+
:::
22+
23+
This [repository](https://github.com/highmed/dsf-process-tutorial) contains exercises to learn how to implement process plugins for the [Data Sharing Framework (DSF)](https://github.com/highmed/highmed-dsf). The tutorial is divided into several exercises that build on each other. For each exercise, a sample solution is provided in a separate branch. A recording of the opening remarks by H. Hund and R. Wettstein can be found on [YouTube](https://youtu.be/2AUPwQQQsPY?si=r1tWF3-q3Q4paYef). The slides of the opening remarks are available as a [PDF download](https://raw.githubusercontent.com/highmed/dsf-process-tutorial/main/exercises/figures/2022-08-21_GMDS_2022_DSF_Process_Tutorial.pdf).
24+

docs/src/community/events/MIE2023.md renamed to docs/src/community/events/tutorials/2023-05-30-MIE2023.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
---
22
title: MIE May 2023
33
icon: info
4+
date: 2023-05-30
5+
type: "news"
6+
excerpt: "Between the 22nd and 25th of May, Medical Informatics Europe 2023 was held in Gothenburg, Sweden. It was organized by the European Federation for Medical Informatics (EFMI) and the Swedish Federation for Medical Informatics (SFMI). The DSF team presented its project and held a tutorial. An archived version of the tutorial can be read here."
7+
category:
8+
- News
9+
tags:
10+
- News
11+
- Events
12+
- Tutorials
413
---
514

615
## Abstract

docs/src/community/team.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The funded project team includes:
1313
- Alexander Kiel • [GitHub](https://github.com/alexanderkiel)
1414
- Jan Böhringer • [GitHub](https://github.com/jaboehri)
1515
- Mathias Rühle • [GitHub](https://github.com/EmteZogaf)
16-
- Mohamad Khalil Malla
16+
- Mohamad Khalil Malla[GitHub](https://github.com/khalilMa24)
1717
- Paul Maibach • [GitHub](https://github.com/javarum)
1818
- Sylvester Baidoo-A.
1919
- Tom Holler • [GitHub](https://github.com/H99-code)

0 commit comments

Comments
 (0)