mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-08-05 13:46:35 -07:00
push
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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 })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user