summaryrefslogtreecommitdiff
path: root/ocamldoc/odoc_gen.mli
diff options
context:
space:
mode:
Diffstat (limited to 'ocamldoc/odoc_gen.mli')
-rw-r--r--ocamldoc/odoc_gen.mli11
1 files changed, 10 insertions, 1 deletions
diff --git a/ocamldoc/odoc_gen.mli b/ocamldoc/odoc_gen.mli
index 4649c9504b..37768c008d 100644
--- a/ocamldoc/odoc_gen.mli
+++ b/ocamldoc/odoc_gen.mli
@@ -20,6 +20,15 @@ module type Base = sig
class generator : doc_generator
end;;
+module Base_generator : Base
+
+module type Base_functor = functor (P: Base) -> Base
+module type Html_functor = functor (G: Odoc_html.Html_generator) -> Odoc_html.Html_generator
+module type Latex_functor = functor (G: Odoc_latex.Latex_generator) -> Odoc_latex.Latex_generator
+module type Texi_functor = functor (G: Odoc_texi.Texi_generator) -> Odoc_texi.Texi_generator
+module type Man_functor = functor (G: Odoc_man.Man_generator) -> Odoc_man.Man_generator
+module type Dot_functor = functor (G: Odoc_dot.Dot_generator) -> Odoc_dot.Dot_generator
+
(** Various ways to create a generator. *)
type generator =
| Html of (module Odoc_html.Html_generator)
@@ -27,7 +36,7 @@ type generator =
| Texi of (module Odoc_texi.Texi_generator)
| Man of (module Odoc_man.Man_generator)
| Dot of (module Odoc_dot.Dot_generator)
- | Other of (module Base)
+ | Base of (module Base)
;;
val get_minimal_generator : generator -> doc_generator