Skip to content

Commit

Permalink
chore(website): wrong import directory for docs images (#1803)
Browse files Browse the repository at this point in the history
Co-authored-by: Ashmit JaiSarita Gupta <[email protected]>
  • Loading branch information
moritzkalwa and devilkiller-ag authored Feb 14, 2024
1 parent 3bf4299 commit 4da6cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modelina-website/scripts/build-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4da6cf8

Please sign in to comment.