feat(docs): add mkdocs

This commit is contained in:
Jef LeCompte
2020-12-07 00:18:43 -05:00
parent bc2272e59a
commit 243109a4ff
53 changed files with 1112 additions and 644 deletions
+4 -2
View File
@@ -31,7 +31,7 @@ export function sendDiscordMessage(link: Link, store: Store) {
'> provided by [streetmerchant](https://github.com/jef/streetmerchant) with :heart:'
)
.setThumbnail(
'https://raw.githubusercontent.com/jef/streetmerchant/main/media/streetmerchant-square.png'
'https://raw.githubusercontent.com/jef/streetmerchant/main/docs/assets/images/streetmerchant-square.png'
)
.setColor('#52b788')
.setTimestamp();
@@ -57,7 +57,9 @@ export function sendDiscordMessage(link: Link, store: Store) {
});
}
(await Promise.all(promises)).forEach(({client}) => client.destroy());
(await Promise.all(promises)).forEach(({client}) =>
client.destroy()
);
logger.info('✔ discord message sent');
} catch (error: unknown) {