From 042aa08c21ca0f985458521725e6cc130b750e6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20P=C3=B6mp?= Date: Fri, 8 Nov 2024 12:24:49 +0100 Subject: [PATCH] build(project): fix building docs --- libs/README.md | 18 +++++++++--------- runner.js | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libs/README.md b/libs/README.md index 2f2bcdeab..a62f6a5ed 100644 --- a/libs/README.md +++ b/libs/README.md @@ -15,7 +15,7 @@ This sections shows an overview of all custom libraries used by OCTRA. All Angul -NPM Version +NPM Version Browser, NodeJS @@ -26,7 +26,7 @@ library with custom functions used in the other libraries or apps like OCTRA -NPM Version +NPM Version Browser, NodeJS @@ -37,7 +37,7 @@ all media related classes without dependencies to dom library -NPM Version +NPM Version Browser @@ -48,7 +48,7 @@ all media related classes (for now audio only: audio playback a.s.o) -NPM Version +NPM Version Browser, NodeJS @@ -59,7 +59,7 @@ library with shared assets in octra applications e.g. JSON schemata -NPM Version +NPM Version Browser, NodeJS @@ -70,7 +70,7 @@ This library allows to define a set of valid objects using JSON and valid these. -NPM Version +NPM Version Browser, NodeJS @@ -81,7 +81,7 @@ Objects and other classes used to handle annotation tasks -NPM Version +NPM Version Angular @@ -92,7 +92,7 @@ Angular components e.g. for the signal displays -NPM Version +NPM Version Angular @@ -103,7 +103,7 @@ library with custom functions used in angular projects -web-components +web-components Browser diff --git a/runner.js b/runner.js index 3104ff159..953a11229 100644 --- a/runner.js +++ b/runner.js @@ -45,10 +45,10 @@ const Project = { }, prepareDocs: async function () { let content = await fs.readFile(`./typedocs/index.html`, 'utf-8'); - content = content.replace(/\.\/(?!apps)([^/]+)/g, (g0, g1) => { + content = content.replace(/\.\/(?!apps)([^"]+)/g, (g0, g1) => { return `modules/_octra_${g1.replace(/-/g, '_')}.html`; }); - content = content.replace(/".*apps\/([^/]+)/g, (g0, g1) => { + content = content.replace(/".*apps\/([^"]+)/g, (g0, g1) => { return `"modules/_octra_${g1.replace(/-/g, '_')}.html`; }); await fs.writeFile(`./typedocs/index.html`, content, {