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:
parent
a4c06427d5
commit
48d7ba29e8
3
Makefile
3
Makefile
@ -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
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
(library
|
||||
((name client_lib)
|
||||
(public_name tezos.client)
|
||||
(libraries (minutils
|
||||
utils
|
||||
cohttp
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
(library
|
||||
((name tezos_protocol_compiler)
|
||||
(public_name tezos.protocol_compiler)
|
||||
(libraries (utils
|
||||
minutils
|
||||
tezos_protocol_environment_sigs
|
||||
|
@ -51,5 +51,6 @@
|
||||
|
||||
(library
|
||||
((name tezos_protocol_environment_sigs)
|
||||
(public_name tezos.protocol_environment.sigs)
|
||||
(flags (:standard -nopervasives))
|
||||
(modules ("V1"))))
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
(library
|
||||
((name micheline)
|
||||
(public_name tezos.micheline)
|
||||
(libraries
|
||||
(
|
||||
;; External
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
(library
|
||||
((name minutils)
|
||||
(public_name tezos.minutils)
|
||||
(libraries (cstruct
|
||||
lwt
|
||||
ocplib-json-typed.bson
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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))))
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
(library
|
||||
((name utils)
|
||||
(public_name tezos.utils)
|
||||
(libraries
|
||||
(
|
||||
;; External
|
||||
|
Loading…
Reference in New Issue
Block a user