fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some prelim work on builder api.
[librarian.git]
/
src
/
librarian
/
builders
/
__init__.py
diff --git
a/src/librarian/builders/__init__.py
b/src/librarian/builders/__init__.py
index
b1afe94
..
e47c557
100644
(file)
--- a/
src/librarian/builders/__init__.py
+++ b/
src/librarian/builders/__init__.py
@@
-1,13
+1,26
@@
+# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
from collections import OrderedDict
from .txt import TxtBuilder
from collections import OrderedDict
from .txt import TxtBuilder
-from .html import HtmlBuilder, StandaloneHtmlBuilder, DaisyHtmlBuilder
+from .html import HtmlBuilder, S
nippetHtmlBuilder, S
tandaloneHtmlBuilder, DaisyHtmlBuilder
from .sanitize import Sanitizer
from .sanitize import Sanitizer
+from .daisy import DaisyBuilder
+from .epub import EpubBuilder
+from .mobi import MobiBuilder
+from .pdf import PdfBuilder
builders = OrderedDict([
("txt", TxtBuilder),
("html", HtmlBuilder),
builders = OrderedDict([
("txt", TxtBuilder),
("html", HtmlBuilder),
+ ("html-snippet", SnippetHtmlBuilder),
("html-standalone", StandaloneHtmlBuilder),
("html-daisy", DaisyHtmlBuilder),
("html-standalone", StandaloneHtmlBuilder),
("html-daisy", DaisyHtmlBuilder),
+ ("daisy", DaisyBuilder),
("sanitizer", Sanitizer),
("sanitizer", Sanitizer),
+
+ ("epub", EpubBuilder),
+ ("mobi", MobiBuilder),
+ ("pdf", PdfBuilder),
])
])