diff --git a/src/output/epub.ts b/src/output/epub.ts index 45ce8bac..8e0b30d4 100644 --- a/src/output/epub.ts +++ b/src/output/epub.ts @@ -363,7 +363,6 @@ export async function exportEpub({ manifest, spineItems, manifestItems: Object.values(manifestItem), - landmarks, }), 'utf8', ); @@ -567,7 +566,6 @@ function buildEpubPackageDocument({ docLanguages, spineItems, manifestItems, - landmarks, }: Pick[0], 'epubVersion'> & { manifest: PublicationManifest; uid: string; @@ -575,7 +573,6 @@ function buildEpubPackageDocument({ docLanguages: string[]; spineItems: SpineEntry[]; manifestItems: ManifestEntry[]; - landmarks: LandmarkEntry[]; }): string { const slugger = new GithubSlugger(); slugger.reset(); @@ -699,13 +696,6 @@ function buildEpubPackageDocument({ })), ], }, - guide: { - reference: landmarks.map(({ type, href, text }) => ({ - _type: type, - _href: href, - _title: text, - })), - }, }, }); } diff --git a/tests/__snapshots__/epub.test.ts.snap b/tests/__snapshots__/epub.test.ts.snap index 0b85a9b1..bb73db84 100644 --- a/tests/__snapshots__/epub.test.ts.snap +++ b/tests/__snapshots__/epub.test.ts.snap @@ -19,9 +19,6 @@ exports[`generate EPUB from series of HTML files > content.opf 1`] = ` - - - " `; @@ -130,9 +127,6 @@ exports[`generate EPUB from single HTML with pub manifest > content.opf 1`] = ` - - - " `;