Fix edit page url

This commit is contained in:
Sidharth Vinod
2022-09-03 12:25:18 +05:30
parent 42a2cabc7b
commit c702e12a42
2 changed files with 7 additions and 4 deletions

View File

@@ -120,7 +120,7 @@
plugins: [
function (hook, vm) {
hook.beforeEach(function (html) {
url = 'https://github.com/mermaid-js/mermaid/blob/develop/docs/' + vm.route.file;
url = 'https://github.com/mermaid-js/mermaid/blob/develop/src/docs/' + vm.route.file;
var editHtml = '[:memo: Edit this Page](' + url + ')\n';
return editHtml + html;
});