added docs builder

This commit is contained in:
2025-03-24 14:10:29 +11:00
parent 1c37a825fc
commit a0e83e1df3
2 changed files with 169 additions and 1 deletions

View File

@@ -459,7 +459,7 @@ class DocumentService {
processImages(content, basePath) {
return content.replace(/!\[\[(.*?)\]\]/g, (match, filename) => {
const mediaPath = `${basePath}/images/${filename}`;
const mediaPath = `./docs/images/${filename}`;
if (filename.toLowerCase().endsWith('.mp4')) {
return `\n<video controls width="100%">