Behebe fehlschlagenden Docs-Workflow durch deterministische Doku-Generierung
Some checks failed
Build and Push Docker Images / verify-docs-sync (push) Successful in 8s
Build and Push Docker Images / build-backend (push) Successful in 2m50s
Build and Push Docker Images / build-frontend (push) Successful in 3m18s
Build and Push Docker Images / build-docs (push) Failing after 1m29s
Some checks failed
Build and Push Docker Images / verify-docs-sync (push) Successful in 8s
Build and Push Docker Images / build-backend (push) Successful in 2m50s
Build and Push Docker Images / build-frontend (push) Successful in 3m18s
Build and Push Docker Images / build-docs (push) Failing after 1m29s
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Backend API Funktionskatalog
|
||||
|
||||
Automatisch generiert am: 2026-04-22T12:35:07.580Z
|
||||
Automatisch generiert (deterministisch, ohne Zeitstempel).
|
||||
|
||||
Hinweis: Diese Datei wird durch `docs/scripts/sync-funktionsdoku.mjs` erzeugt.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Frontend Web Funktionskatalog
|
||||
|
||||
Automatisch generiert am: 2026-04-22T12:35:07.607Z
|
||||
Automatisch generiert (deterministisch, ohne Zeitstempel).
|
||||
|
||||
Hinweis: Diese Datei wird durch `docs/scripts/sync-funktionsdoku.mjs` erzeugt.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Mobile App Funktionskatalog
|
||||
|
||||
Automatisch generiert am: 2026-04-22T12:35:07.610Z
|
||||
Automatisch generiert (deterministisch, ohne Zeitstempel).
|
||||
|
||||
Hinweis: Diese Datei wird durch `docs/scripts/sync-funktionsdoku.mjs` erzeugt.
|
||||
|
||||
|
||||
@@ -129,10 +129,9 @@ function filePathToExpoRoute(filePath, baseDir) {
|
||||
|
||||
async function generateBackendDoc() {
|
||||
const files = await walkFiles(BACKEND_ROUTES_DIR, ".ts");
|
||||
const generatedAt = new Date().toISOString();
|
||||
|
||||
let output = "# Backend API Funktionskatalog\n\n";
|
||||
output += `Automatisch generiert am: ${generatedAt}\n\n`;
|
||||
output += "Automatisch generiert (deterministisch, ohne Zeitstempel).\n\n";
|
||||
output += "Hinweis: Diese Datei wird durch `docs/scripts/sync-funktionsdoku.mjs` erzeugt.\n\n";
|
||||
|
||||
const allEndpoints = [];
|
||||
@@ -166,7 +165,6 @@ async function generateBackendDoc() {
|
||||
|
||||
async function generateFrontendDoc() {
|
||||
const files = await walkFiles(FRONTEND_PAGES_DIR, ".vue");
|
||||
const generatedAt = new Date().toISOString();
|
||||
|
||||
const rows = files.map((file) => {
|
||||
const route = filePathToNuxtRoute(file, FRONTEND_PAGES_DIR);
|
||||
@@ -176,7 +174,7 @@ async function generateFrontendDoc() {
|
||||
rows.sort((a, b) => a.route.localeCompare(b.route));
|
||||
|
||||
let output = "# Frontend Web Funktionskatalog\n\n";
|
||||
output += `Automatisch generiert am: ${generatedAt}\n\n`;
|
||||
output += "Automatisch generiert (deterministisch, ohne Zeitstempel).\n\n";
|
||||
output += "Hinweis: Diese Datei wird durch `docs/scripts/sync-funktionsdoku.mjs` erzeugt.\n\n";
|
||||
output += "| Route (Nuxt) | Datei |\n";
|
||||
output += "|---|---|\n";
|
||||
@@ -192,7 +190,6 @@ async function generateFrontendDoc() {
|
||||
|
||||
async function generateMobileDoc() {
|
||||
const files = await walkFiles(MOBILE_APP_DIR, ".tsx");
|
||||
const generatedAt = new Date().toISOString();
|
||||
|
||||
const rows = files
|
||||
.map((file) => {
|
||||
@@ -207,7 +204,7 @@ async function generateMobileDoc() {
|
||||
rows.sort((a, b) => a.route.localeCompare(b.route));
|
||||
|
||||
let output = "# Mobile App Funktionskatalog\n\n";
|
||||
output += `Automatisch generiert am: ${generatedAt}\n\n`;
|
||||
output += "Automatisch generiert (deterministisch, ohne Zeitstempel).\n\n";
|
||||
output += "Hinweis: Diese Datei wird durch `docs/scripts/sync-funktionsdoku.mjs` erzeugt.\n\n";
|
||||
output += "| Route (Expo Router) | Datei |\n";
|
||||
output += "|---|---|\n";
|
||||
|
||||
Reference in New Issue
Block a user