chore: fix all occurences of .html.

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-06-02 15:01:45 +02:00
parent 7a8dbea0f7
commit 77f60d0397
+2 -2
View File
@@ -942,8 +942,8 @@ async function buildDocs({
private _getFilenameForApiItem(apiItem: ApiItem): string {
const filename: string = super._getFilenameForApiItem(apiItem);
if (filename.endsWith('.html.md')) {
return `${filename.substring(0, filename.length - 8)}._html.md`;
if (filename.includes('.html.')) {
return filename.replaceAll('.html.', '._html.');
}
return filename;