mirror of
https://github.com/lovell/sharp.git
synced 2026-02-05 06:06:18 +01:00
Docs: switch to well-maintained jsdoc2md for JSDoc parsing
This commit is contained in:
@@ -77,9 +77,7 @@
|
||||
.map(function (sidebarLink) {
|
||||
return sidebarLink.title;
|
||||
})[0];
|
||||
return title
|
||||
? md.replace(/<!-- Generated by documentation.js. Update this documentation by updating the source code. -->/, '# ' + title)
|
||||
: md;
|
||||
return title ? `# ${title}\n${md}` : md;
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user