2002-03-27 08:20:32 -08:00
|
|
|
(***********************************************************************)
|
|
|
|
(* OCamldoc *)
|
|
|
|
(* *)
|
|
|
|
(* Maxence Guesdon, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 2001 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
2003-11-24 02:44:07 -08:00
|
|
|
(* $Id$ *)
|
2002-03-27 08:20:32 -08:00
|
|
|
|
|
|
|
(** Analysis of the command line arguments. *)
|
|
|
|
|
2010-08-24 02:45:45 -07:00
|
|
|
(** The current module defining the generator to use. *)
|
|
|
|
val current_generator : Odoc_gen.generator option ref
|
2005-03-24 09:20:54 -08:00
|
|
|
|
2002-03-27 08:20:32 -08:00
|
|
|
(** To set the documentation generator. *)
|
2010-08-24 02:45:45 -07:00
|
|
|
val set_generator : Odoc_gen.generator -> unit
|
2005-03-24 09:20:54 -08:00
|
|
|
|
2002-03-27 08:20:32 -08:00
|
|
|
(** Add an option specification. *)
|
|
|
|
val add_option : string * Arg.spec * string -> unit
|
2005-03-24 09:20:54 -08:00
|
|
|
|
|
|
|
(** Parse the args.
|
2002-08-13 07:09:26 -07:00
|
|
|
[byte] indicate if we are in bytecode mode (default is [true]).*)
|
2010-08-24 02:45:45 -07:00
|
|
|
val parse : unit -> unit
|