Generate html API documentation

- add a new targert "make doc-html" to generate the html doc via
  jbuilder
- this patch adds public_name to jbuild files for all libraries
This commit is contained in:
Pietro Abate 2017-11-03 16:02:38 +01:00 committed by Grégoire
parent a4c06427d5
commit 48d7ba29e8
12 changed files with 16 additions and 0 deletions

View File

@ -5,6 +5,9 @@ all:
@cp _build/default/src/client_main.exe tezos-client
@cp _build/default/src/compiler_main.exe tezos-protocol-compiler
doc-html:
@jbuilder build @doc
build-test:
@jbuilder build @buildtest

View File

@ -2,6 +2,7 @@
(library
((name client_lib)
(public_name tezos.client)
(libraries (minutils
utils
cohttp

View File

@ -11,6 +11,7 @@
(library
((name tezos_protocol_compiler)
(public_name tezos.protocol_compiler)
(libraries (utils
minutils
tezos_protocol_environment_sigs

View File

@ -51,5 +51,6 @@
(library
((name tezos_protocol_environment_sigs)
(public_name tezos.protocol_environment.sigs)
(flags (:standard -nopervasives))
(modules ("V1"))))

View File

@ -2,6 +2,7 @@
(library
((name micheline)
(public_name tezos.micheline)
(libraries
(
;; External

View File

@ -2,6 +2,7 @@
(library
((name minutils)
(public_name tezos.minutils)
(libraries (cstruct
lwt
ocplib-json-typed.bson

View File

@ -2,6 +2,7 @@
(library
((name node_db)
(public_name tezos.node.db)
(libraries (utils minutils leveldb irmin irmin-unix))
(flags (:standard -w +27-30-40@8
-open Error_monad

View File

@ -2,6 +2,7 @@
(library
((name node_net)
(public_name tezos.node.net)
(libraries (utils minutils conduit-lwt-unix cohttp cohttp-lwt-unix))
(flags (:standard -w +27-30-40@8
-open Error_monad

View File

@ -2,6 +2,7 @@
(library
((name node_shell)
(public_name tezos.node.shell)
(libraries (utils minutils node_net node_db node_updater ezjsonm ocplib-json-typed.bson))
(flags (:standard -w +27-30-40@8
-open Error_monad

View File

@ -2,6 +2,7 @@
(library
((name node_updater)
(public_name tezos.node.updater)
(libraries (utils minutils micheline tezos_protocol_compiler node_db dynlink))
(flags (:standard -w +27-30-40@8
-open Error_monad

View File

@ -26,12 +26,14 @@ let () =
(library
((name tezos_protocol_environment_alpha)
(public_name tezos.protocol_environment.alpha)
(library_flags (:standard -linkall))
(libraries (node_updater))
(modules (Environment))))
(library
((name tezos_embedded_raw_protocol_alpha)
(public_name tezos.embedded_raw_protocol.alpha)
(libraries (tezos_protocol_environment_alpha))
(library_flags (:standard -linkall))
(flags (:standard -nopervasives -nostdlib
@ -45,6 +47,7 @@ let () =
(library
((name tezos_embedded_protocol_alpha)
(public_name tezos.embedded_protocol.alpha)
(library_flags (:standard -linkall))
(libraries (tezos_embedded_raw_protocol_alpha node_shell))
(modules (Registerer))))

View File

@ -2,6 +2,7 @@
(library
((name utils)
(public_name tezos.utils)
(libraries
(
;; External