mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-18 08:35:10 +00:00
comment
This commit is contained in:
@@ -172,7 +172,7 @@ function getCanonicalAndLanguages(context: GitBookSiteContext, page: RevisionPag
|
||||
linker.toLinkForContent(new URL(publishedURL).toString())
|
||||
);
|
||||
|
||||
// @ts-expect-error
|
||||
// @ts-expect-error - Metadata.languages does not have all the language types that GitBook supports
|
||||
languages[language] = new URL(
|
||||
getPagePath(revision.pages, page),
|
||||
langSiteSpaceURL.endsWith('/') ? langSiteSpaceURL : `${langSiteSpaceURL}/`
|
||||
|
||||
Reference in New Issue
Block a user