This commit is contained in:
Evan Simkowitz
2024-10-08 14:47:46 -04:00
parent 86de784878
commit e0852296b6
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -50,6 +50,7 @@ class DocsPlugin {
const bar = progress.defaultBar();
bar.start(this.docs.length, 0, { prefix: 'rendering images', suffix: '-' });
for (const doc of this.docs) {
console.log("doc", doc);
const document = new document_1.Document(this.getHtmlPath(doc));
bar.update({ suffix: doc.metadata.permalink });
await document.load();
+1
View File
@@ -68,6 +68,7 @@ export class DocsPlugin {
const bar = progress.defaultBar()
bar.start(this.docs.length, 0, {prefix: 'rendering images', suffix: '-'})
for (const doc of this.docs) {
console.log("doc", doc)
const document = new Document(this.getHtmlPath(doc)!)
bar.update({ suffix: doc.metadata.permalink })