diff --git a/modelina-website/scripts/build-docs.js b/modelina-website/scripts/build-docs.js index 55b44803f1..e1c4beaf84 100644 --- a/modelina-website/scripts/build-docs.js +++ b/modelina-website/scripts/build-docs.js @@ -28,7 +28,7 @@ function prepareContent(content) { content = content.replace('/examples?selectedExample=integrate-with-maven', 'https://github.com/asyncapi/modelina/tree/master/examples/integrate-with-maven'); // Replace all references to local images for docs - content = content.replace(/"(.*?)\/img\/(.*?)"/g, '"/img/docs/img/$2"'); + content = content.replace(/"(.*?)\/img\/(.*?)"/g, '"/img/docs/$2"'); return content; }