Skip to content

Commit fc08fdd

Browse files
apeirora-service-user[bot]mlenkeitospo-renovate[bot]
committed
Release 2.0.20
Co-authored-by: Maximilian Lenkeit <[email protected]> Co-authored-by: ospo-renovate[bot] <40221+ospo-renovate[bot]@users.noreply.github.tools.sap>
1 parent 852a7b9 commit fc08fdd

File tree

6 files changed

+77
-10
lines changed

6 files changed

+77
-10
lines changed

.vitepress/components/Figure.vue

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
<script setup>
22
import { computed } from 'vue'
33
import { withBase } from 'vitepress'
4-
const props = defineProps(['src', 'alt', 'caption', 'width', 'source', 'sourceLink'])
4+
const props = defineProps(['src', 'alt', 'caption', 'width', 'source', 'sourceLink', 'href'])
55
66
const srcVal = computed(() => withBase(props.src))
7+
const altVal = computed(() => props.alt || props.caption || '')
8+
const captionVal = computed(() => props.caption || props.alt || '')
9+
const hrefVal = computed(() => props.href ? withBase(props.href) : '')
710
</script>
811

912
<template>
1013
<figure>
11-
<!-- TODO: fix base path -->
12-
<img :src="srcVal" :alt="alt" />
14+
<a v-if="hrefVal" :href="hrefVal" target="_blank" rel="noopener noreferrer">
15+
<img :src="srcVal" :alt="altVal" />
16+
</a>
17+
<img v-else :src="srcVal" :alt="altVal" />
1318
<figcaption>
14-
{{ caption }}
19+
{{ captionVal }}
1520
<div class="source" v-if="sourceLink">
1621
(Source: <a href="{{ sourceLink }}">{{ source ? source : sourceLink }}</a>)
1722
</div>
@@ -28,7 +33,7 @@ figure {
2833
width: 100%;
2934
text-align: center;
3035
}
31-
figure > img {
36+
figure img {
3237
display: inline;
3338
margin: .25rem 0;
3439
}

.vitepress/config.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const resolveAbsoluteUrl = (relativeUrl: string) => {
2222
return path.posix.resolve(BASE, relativeUrl)
2323
}
2424
}
25+
const NAV_BAR_DIVIDER = { text: '', link: '#--divider--', activeMatch: '' }
2526

2627
// https://vitepress.dev/reference/site-config
2728
export default withMermaid(defineConfig({
@@ -49,6 +50,8 @@ export default withMermaid(defineConfig({
4950
nav: [
5051
{ text: 'Documentation', link: '/docs/index.md', activeMatch: '/docs/' },
5152
{ text: 'Blog', link: '/blog/index.md', activeMatch: '/blog/' },
53+
{ text: 'Changelog', link: '/changelog.md', activeMatch: '/blog/' },
54+
NAV_BAR_DIVIDER,
5255
{ text: 'Project Website', link: 'https://apeirora.eu/' }
5356
],
5457
sidebar: {

.vitepress/theme/style.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,31 @@
211211

212212
.VPFeature article a {
213213
text-decoration: underline;
214+
}
215+
216+
/* Make the placeholder a thin vertical line */
217+
.VPNavBarMenu .VPNavBarMenuLink[href="#--divider--"] {
218+
pointer-events: none; /* disable click */
219+
border-left: 1px solid var(--vp-c-divider);
220+
height: 24px;
221+
margin-top: 20px;
222+
margin-left: 8px;
223+
margin-right: 8px;
224+
/* margin: 0 0.75rem; */
225+
padding: 0;
226+
background: none;
227+
}
228+
229+
/* Divider magic in nav bar */
230+
.VPNavBarMenu .VPNavBarMenuLink[href="#--divider--"] span {
231+
display: none;
232+
}
233+
234+
.VPNavBarMenu .VPNavBarMenuLink[href="#--divider--"] span:before {
235+
content: 'B'
236+
}
237+
@media (max-width: 768px) {
238+
.VPNavScreenMenu .VPNavScreenMenuLink[href="#--divider--"] {
239+
display: none;
240+
}
214241
}

changelog.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Changelog
3+
---
4+
5+
## v2.0.0 (2025-08-12)
6+
7+
- Update layout to new design
8+
9+
## v1.3.0 (2025-06-30)
10+
11+
**New Content**
12+
- quarterly release of version 2025-06
13+
- new section "Architecture Overview"
14+
- new section "Data Fabric"
15+
- new section "Showroom"
16+
- new section "Resources"
17+
18+
**Chore**
19+
- display NeoNephos logo
20+
- re-arrange navigation
21+
22+
## v1.2.0 (2025-06-03)
23+
24+
- Blog: Release of OpenBao namespaces
25+
26+
## v1.1.0 (2025-03-25)
27+
28+
- Blog: KCP Multi‑Tenant Control Planes
29+
30+
## v1.0.0 (2025-03-13)
31+
32+
- Initial setup of documentation content

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"devDependencies": {
2323
"@types/js-yaml": "4.0.9",
24-
"@types/node": "22.17.1",
24+
"@types/node": "22.17.2",
2525
"semver": "7.7.2",
2626
"typescript": "~5.9.0"
2727
},

0 commit comments

Comments
 (0)