mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-07 11:45:31 -05:00
Stub for intro documentation.
This commit is contained in:
parent
d1c00657b2
commit
bafee555d3
3 changed files with 18 additions and 34 deletions
40
_oasis
40
_oasis
|
|
@ -8,7 +8,7 @@ LicenseFile: LICENSE
|
|||
Plugins: META (0.3), DevFiles (0.3)
|
||||
OCamlVersion: >= 4.00.1
|
||||
BuildTools: ocamlbuild
|
||||
AlphaFeatures: compiled_setup_ml
|
||||
AlphaFeatures: compiled_setup_ml, ocamlbuild_more_args
|
||||
|
||||
Synopsis: A modular standard library focused on data structures.
|
||||
Description:
|
||||
|
|
@ -144,39 +144,13 @@ Document containers
|
|||
BuildTools+: ocamldoc
|
||||
Install: true
|
||||
XOCamlbuildPath: .
|
||||
XOCamlbuildLibraries: containers,containers.string
|
||||
XOCamlbuildExtraArgs:
|
||||
"-docflags '-colorize-code -short-functors -charset utf-8'"
|
||||
XOCamlbuildLibraries:
|
||||
containers, containers.misc,
|
||||
containers.string, containers.advanced,
|
||||
containers.lwt
|
||||
|
||||
Document containers_misc
|
||||
Title: Containers_misc docs
|
||||
Type: ocamlbuild (0.3)
|
||||
BuildTools+: ocamldoc
|
||||
Install: true
|
||||
XOCamlbuildPath: .
|
||||
XOCamlbuildLibraries: containers.misc
|
||||
|
||||
Document containers_string
|
||||
Title: Containers_string docs
|
||||
Type: ocamlbuild (0.3)
|
||||
BuildTools+: ocamldoc
|
||||
Install: true
|
||||
XOCamlbuildPath: .
|
||||
XOCamlbuildLibraries: containers.string
|
||||
|
||||
Document containers_advanced
|
||||
Title: Containers_advanced docs
|
||||
Type: ocamlbuild (0.3)
|
||||
BuildTools+: ocamldoc
|
||||
Install: true
|
||||
XOCamlbuildPath: .
|
||||
XOCamlbuildLibraries: containers.advanced
|
||||
|
||||
Document containers_lwt
|
||||
Title: Containers_lwt docs
|
||||
Type: ocamlbuild (0.3)
|
||||
BuildTools+: ocamldoc
|
||||
Install: true
|
||||
XOCamlbuildPath: .
|
||||
XOCamlbuildLibraries: containers.lwt
|
||||
|
||||
Executable run_benchs
|
||||
Path: benchs/
|
||||
|
|
|
|||
0
doc/intro.txt
Normal file
0
doc/intro.txt
Normal file
|
|
@ -1,6 +1,8 @@
|
|||
(* OASIS_START *)
|
||||
(* OASIS_STOP *)
|
||||
|
||||
let doc_intro = "doc/intro.txt"
|
||||
|
||||
open Ocamlbuild_plugin;;
|
||||
|
||||
dispatch
|
||||
|
|
@ -40,7 +42,15 @@ dispatch
|
|||
let ocaml_major = "OCAML_MAJOR " ^ string_of_int major in
|
||||
let ocaml_minor = "OCAML_MINOR " ^ string_of_int minor in
|
||||
|
||||
flag ["cppo"] & S[A"-D"; A ocaml_major; A"-D"; A ocaml_minor]
|
||||
flag ["cppo"] & S[A"-D"; A ocaml_major; A"-D"; A ocaml_minor] ;
|
||||
|
||||
(* Documentation index *)
|
||||
dep ["ocaml"; "doc"; "extension:html"] & [doc_intro] ;
|
||||
flag ["ocaml"; "doc"; "extension:html"] &
|
||||
(S[A"-t"; A"LILiS user guide";
|
||||
A"-intro"; P doc_intro;
|
||||
]);
|
||||
|
||||
| _ -> ()
|
||||
end;
|
||||
dispatch_default
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue