mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-08-05 13:46:35 -07:00
fix: fix docs og gen failing for versioned and localized docs
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
@@ -88,6 +88,6 @@ export class DocsPlugin {
|
||||
}
|
||||
|
||||
getHtmlPath = (doc: Partial<DocsPageData>) =>
|
||||
doc.metadata?.permalink &&
|
||||
path.join(this.context.outDir, doc.metadata.permalink, 'index.html')
|
||||
doc.metadata?.slug &&
|
||||
path.join(this.context.outDir, doc.metadata.slug, 'index.html')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user