initial commit

This commit is contained in:
2026-05-25 17:05:15 +02:00
commit 6ebe505a07
25 changed files with 5929 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<!doctype html>
<html>
<head>
<title>Introduction</title>
<meta name="author" content="ebookm" />
<meta property="article:published_time" content="2025-01-10T00:00:00Z" />
<link rel="canonical" href="https://example.com/intro" />
</head>
<body>
<article>
<p>This is the first article in the bundled example.</p>
<p>It demonstrates a local HTML source entry.</p>
</article>
</body>
</html>
+14
View File
@@ -0,0 +1,14 @@
<!doctype html>
<html>
<head>
<title>Working Notes</title>
<meta name="author" content="ebookm" />
<meta property="article:published_time" content="2025-01-11T00:00:00Z" />
</head>
<body>
<article>
<p>This second article links to the first one.</p>
<p><a href="https://example.com/intro">Go to the introduction</a></p>
</article>
</body>
</html>
BIN
View File
Binary file not shown.
+48
View File
@@ -0,0 +1,48 @@
book:
title: "ebookm Example Book"
author: "ebookm"
language: "en"
identifier: "urn:uuid:ebookm-example-book"
description: "Example manifest shipped with the repository"
output:
path: "dist/example-book.epub"
defaults:
fetch_images: false
normalize_substack_embeds: true
metadata:
author: "ebookm"
sections:
- id: "part-1"
title: "Examples"
entries:
- "intro"
- "notes"
entries:
intro:
source:
kind: "html"
path: "articles/intro.html"
toc:
title: "Introduction"
notes:
source:
kind: "html"
path: "articles/notes.html"
title: "Working Notes"
links:
mode: "explicit"
allow_to: ["intro"]
link_rules:
mode: "explicit"
rewrite_external_substack_links: true
preserve_other_external_links: true
rules:
- from: ["notes"]
to: ["intro"]
match_mode: "canonical-url"