From 10a2461f1ad00c2a5f60c4a2ed80f2d0a136714d Mon Sep 17 00:00:00 2001 From: Nicholas Petrasek Date: Fri, 4 Sep 2026 18:59:33 +0200 Subject: [PATCH] docs: link primitives header to NIPE open source --- scripts/verify-website.mjs | 13 +++++++++++++ website/de/datenschutz/index.html | 7 ++++++- website/de/impressum/index.html | 7 ++++++- website/impressum/index.html | 7 ++++++- website/index.html | 7 ++++++- website/privacy/index.html | 7 ++++++- website/styles.css | 11 +++++++++++ 7 files changed, 54 insertions(+), 5 deletions(-) diff --git a/scripts/verify-website.mjs b/scripts/verify-website.mjs index 5f01331..666cdf2 100644 --- a/scripts/verify-website.mjs +++ b/scripts/verify-website.mjs @@ -32,6 +32,19 @@ for (const [path, expectedContent] of pages) { } } +for (const [path, html] of pageHtml) { + for (const content of [ + 'Primitives', + 'href="https://opensource.nipesolutions.com"', + 'NIPE Open Source', + ]) { + if (!html.includes(content)) + throw new Error(`${path} is missing header content: ${content}`); + } + if (html.includes('NIPE primitives / 01')) + throw new Error(`${path} contains the retired header label`); +} + const home = pageHtml.get('index.html'); if (home === undefined) throw new Error('Missing built home page'); diff --git a/website/de/datenschutz/index.html b/website/de/datenschutz/index.html index 9c6e805..80f45ad 100644 --- a/website/de/datenschutz/index.html +++ b/website/de/datenschutz/index.html @@ -48,7 +48,12 @@ RReadonlyView - NIPE primitives / 01 +
+ Primitives + NIPE Open Source +