Source file oepub.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(*****************************************************************************)
(*                                                                           *)
(*  Copyright (C) 2024 Yves Ndiaye                                           *)
(*                                                                           *)
(* This Source Code Form is subject to the terms of the Mozilla Public       *)
(* License, v. 2.0. If a copy of the MPL was not distributed with this       *)
(* file, You can obtain one at https://mozilla.org/MPL/2.0/.                 *)
(*                                                                           *)
(*****************************************************************************)

(** A library to read files in epub archive with some abilities to generate a 
  book (ie. a list of chapters)

  To open an epub archive, use {!EpubArchive.parse}.

  To extract the epub archive content into a list of chapters, see the module 
  {!Book}. See also the {!ChapterContents}, which provides implementations to 
  generate books.
*)

module Book = Book
module ChapterContents = ChapterContents
module EpubArchive = EpubArchive
module Error = Error
module Metadata = Metadata
module Manifest = Manifest
module Nav = Nav
module Opf = Opf
module Spine = Spine
module Toc = Toc