Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
765 changes: 405 additions & 360 deletions docs/package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@vuepress/plugin-markdown-tab": "2.0.0-rc.104",
"@vuepress/plugin-slimsearch": "2.0.0-rc.104",
"katex": "^0.16.22",
"sass-embedded": "^1.89.2",
"sass-loader": "16.0.5",
"vue": "3.5.14",
"vuepress": "2.0.0-rc.23",
Expand Down
10 changes: 9 additions & 1 deletion docs/src/.vuepress/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@ import { Layout as ParentLayout } from "vuepress-theme-hope/client";

import Layout from './layouts/PageLayout.vue'
import NotFoundLayout from './layouts/NotFoundLayout.vue'
import BlogLayout from './layouts/BlogLayout.vue';
import NewsList from "./components/NewsList.vue"; // adjust if path differs


export default defineClientConfig({
enhance({ app }) {
app.component("NewsList", NewsList);
},
layouts: {
ParentLayout,
Layout,
NotFound: NotFoundLayout
NotFound: NotFoundLayout,
Blog: BlogLayout,

},
})
8 changes: 8 additions & 0 deletions docs/src/.vuepress/components/NewsList.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<script setup lang="ts">
</script>

<template>
<section>
<h2>News List</h2>
</section>
</template>
4 changes: 3 additions & 1 deletion docs/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ export default defineUserConfig({
description: "",
},
},*/
plugins: [ ],
plugins: [

],

// Enable it with pwa
shouldPrefetch: false,
Expand Down
21 changes: 21 additions & 0 deletions docs/src/.vuepress/layouts/BlogLayout.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<script setup lang="ts">
import { Blog } from "vuepress-theme-hope/blog";
import { usePageFrontmatter } from "vuepress/client";
import { computed } from "vue";

const frontmatter = usePageFrontmatter<{ cover?: string }>();
const cover = computed(() => frontmatter.value.cover);
</script>

<template>
<Blog>
<template #articleCover>
<img v-if="cover" :src="cover" alt="Cover image" />
</template>
<template #infoAfter>
<div style="text-align: center; font-size: 0.8em; color: #666; margin-top: 8px;">
Banner image by <a href="https://unsplash.com/de/@fakurian" target="_blank" rel="noopener noreferrer">Milad Fakurian</a> on <a href="https://unsplash.com/" target="_blank" rel="noopener noreferrer">Unsplash</a>
</div>
</template>
</Blog>
</template>
11 changes: 10 additions & 1 deletion docs/src/.vuepress/layouts/NotFoundLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,21 @@ redirectToParentDirectoryIfInOperations();

});*/


function goBack() {
router.go(-1);
}

function goHome() {
router.push('/');
}

</script>

<template>
<ParentLayout>
<template #default>
<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>
<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>
</template>
</ParentLayout>
</template>
Expand Down
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions docs/src/.vuepress/sidebar/fetch-versioned-release-notes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
#!/bin/bash
# To run: chmod +x fetch-versioned-release-notes.sh && ./fetch-versioned-release-notes.sh
# Dokumentation https://wiki.gecko.hs-heilbronn.de/doc/dokumentation-release-notes-script-45Ex3hoxjB

# GitHub repository details
REPO_OWNER="datasharingframework"
REPO_NAME="dsf"

# Output base directory (this will hold the versioned folders)
OUTPUT_BASE_DIR="../../operations"

# Define the range of versions
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")

# Fetch all release details
echo "Fetching all releases..."
RELEASES=$(curl -s https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/releases)

# Loop through each version in the version list
for VERSION in "${VERSIONS[@]}"; do
VERSION_FOUND=$(echo "$RELEASES" | jq -r ".[] | select(.tag_name == \"$VERSION\")")

if [ ! -z "$VERSION_FOUND" ]; then
VERSION_DIR="$OUTPUT_BASE_DIR/$VERSION"

if [ ! -d "$VERSION_DIR" ]; then
echo "Directory $VERSION_DIR does not exist. Skipping $VERSION."
continue
fi

OUTPUT_FILE="$VERSION_DIR/release-notes.md"


# Write frontmatter at the top of the Markdown file
cat <<EOF > "$OUTPUT_FILE"
---
title: Release Notes ($VERSION)
icon: note
---

## [Release Notes for $VERSION](https://github.com/$REPO_OWNER/$REPO_NAME/releases/tag/$VERSION)

::: tip Release Notes
You can access all release notes on our [GitHub](https://github.com/datasharingframework/dsf/releases).
:::

EOF

echo "$RELEASES" | jq -r ".[] | select(.tag_name == \"$VERSION\") | @base64" | while read -r RELEASE; do
RELEASE_JSON=$(echo "$RELEASE" | base64 --decode)
RELEASE_BODY=$(echo "$RELEASE_JSON" | jq -r '.body')
RELEASE_NAME=$(echo "$RELEASE_JSON" | jq -r '.name')

# Convert #issue_number to GitHub issue link
RELEASE_BODY=$(echo "$RELEASE_BODY" | sed -E 's/#([0-9]+)/[#\1](https:\/\/github.com\/datasharingframework\/dsf\/issues\/\1)/g')

# Convert @username to GitHub user link
RELEASE_BODY=$(echo "$RELEASE_BODY" | sed -E 's/@([a-zA-Z0-9_-]+)/[@\1](https:\/\/github.com\/\1)/g')


echo "### $RELEASE_NAME" >> "$OUTPUT_FILE"
echo "$RELEASE_BODY" >> "$OUTPUT_FILE"
echo "" >> "$OUTPUT_FILE"
done

echo "Release notes for version $VERSION saved to $OUTPUT_FILE"
else
echo "No release found for version $VERSION"
fi
done

echo "Process completed."
139 changes: 69 additions & 70 deletions docs/src/.vuepress/sidebar/operations-v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ export function generate_v1_latest_sidebar() {
icon: "tool",
link: "./",
},
"install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", "root-certificates", "passwords-secrets", {
text: "FHIR Reverse Proxy",
icon: "module",
prefix: "fhir-reverse-proxy/",
link: "fhir-reverse-proxy/",
children: [{
icon: "config",
text: "Configuration",
link: "configuration"
}]
}, {
"release-notes", "install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", "root-certificates", "passwords-secrets", {
text: "FHIR Reverse Proxy",
icon: "module",
children: [
{
icon: "config",
text: "Configuration",
link: "fhir-reverse-proxy/configuration",
}
]},
{
text: "FHIR Server",
icon: "module",
prefix: "fhir/",
Expand All @@ -37,13 +37,13 @@ export function generate_v1_latest_sidebar() {
}, {
text: "BPE Reverse Proxy",
icon: "module",
prefix: "bpe-reverse-proxy/",
link: "bpe-reverse-proxy/",
children: [{
icon: "config",
text: "Configuration",
link: "configuration"
}]
children: [
{
icon: "config",
text: "Configuration",
link: "bpe-reverse-proxy/configuration",
}
]
}, {
text: "BPE Server",
icon: "module",
Expand Down Expand Up @@ -80,17 +80,17 @@ export function generate_v1_gt_eq_1_7_0_sidebar() {
link: "./"

},
"install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", "root-certificates", "passwords-secrets", {
text: "FHIR Reverse Proxy",
icon: "module",
prefix: "fhir-reverse-proxy/",
link: "fhir-reverse-proxy/",
children: [{
icon: "config",
text: "Configuration",
link: "configuration"
}]
}, {
"release-notes", "install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", "root-certificates", "passwords-secrets", {
text: "FHIR Reverse Proxy",
icon: "module",
children: [
{
icon: "config",
text: "Configuration",
link: "fhir-reverse-proxy/configuration",
}
]},
{
text: "FHIR Server",
icon: "module",
prefix: "fhir/",
Expand All @@ -111,13 +111,13 @@ export function generate_v1_gt_eq_1_7_0_sidebar() {
}, {
text: "BPE Reverse Proxy",
icon: "module",
prefix: "bpe-reverse-proxy/",
link: "bpe-reverse-proxy/",
children: [{
icon: "config",
text: "Configuration",
link: "configuration"
}]
children: [
{
icon: "config",
text: "Configuration",
link: "bpe-reverse-proxy/configuration",
}
]
}, {
text: "BPE Server",
icon: "module",
Expand Down Expand Up @@ -151,17 +151,16 @@ export function generate_v1_gt_eq_1_5_0_sidebar() {
text: "Get Started",
icon: "tool",
link: "./",
}, "install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", {
text: "FHIR Reverse Proxy",
icon: "module",
prefix: "fhir-reverse-proxy/",
link: "fhir-reverse-proxy/",
children: [{
icon: "config",
text: "Configuration",
link: "configuration"
}]
}, {
}, "release-notes", "install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", {
text: "FHIR Reverse Proxy",
icon: "module",
children: [
{
icon: "config",
text: "Configuration",
link: "fhir-reverse-proxy/configuration",
}
]}, {
text: "FHIR Server",
icon: "module",
prefix: "fhir/",
Expand All @@ -182,13 +181,13 @@ export function generate_v1_gt_eq_1_5_0_sidebar() {
}, {
text: "BPE Reverse Proxy",
icon: "module",
prefix: "bpe-reverse-proxy/",
link: "bpe-reverse-proxy/",
children: [{
icon: "config",
text: "Configuration",
link: "configuration"
}]
children: [
{
icon: "config",
text: "Configuration",
link: "bpe-reverse-proxy/configuration",
}
]
}, {
text: "BPE Server",
icon: "module",
Expand All @@ -214,35 +213,35 @@ export function generate_v1_gt_eq_1_5_0_sidebar() {
link: "install-plugins"
},
]

}


export function generate_v1_gt_eq_1_0_0_sidebar() {
return [

{
text: "Get Started",
icon: "tool",
link: "./",
}, "install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", {
text: "FHIR Reverse Proxy",
icon: "module",
prefix: "fhir-reverse-proxy/",
link: "fhir-reverse-proxy/",
children: [{
icon: "config",
text: "Configuration",
link: "configuration"
}]
}, {
}, "release-notes", "install", "upgrade-from-1", "upgrade-from-0", "allowList-mgm", {
text: "FHIR Reverse Proxy",
icon: "module",
children: [
{
icon: "config",
text: "Configuration",
link: "fhir-reverse-proxy/configuration",
}
]},
{
text: "FHIR Server",
icon: "module",
prefix: "fhir/",
link: "fhir/",
children: [{
icon: "config",
text: "Configuration",
link: "configuration"
icon: "config",
text: "Configuration",
link: "configuration"

}, {
icon: "config",
text: "Access Control",
Expand Down
8 changes: 8 additions & 0 deletions docs/src/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ h1, h2, h3, h4, h5 {
background: #63C7A6 !important;
}


.vp-category-count{
color: black !important;
background: white !important;
}
.page-category-item {
color: black !important;
Expand All @@ -44,4 +46,10 @@ h1, h2, h3, h4, h5 {

.vp-sidebar {
font-size: 85%;
}

.vp-blog-hero-title {
font-size: xx-large;
font-weight: bolder;
color: #3F8999;
}
Loading