package oepub

  1. Overview
  2. Docs

Module Oepub.BookSource

Module to build a book from an epub archive.

Sourcemodule Chapter : sig ... end

Module representing a chapter. A chapter can be seen as a title with a content.

Sourcemodule type ChapterContent = sig ... end

Input signature of the functor Make. This module type drives how the content into the epub archive should be parsed to build a book. It also describes the type of content in each chapter.

Sourcemodule Make (ChapterContent : ChapterContent) : sig ... end

Fonctor build a book over ChapterContent