mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
erlang: 'edoc' document generation
This commit is contained in:
parent
78fddff34e
commit
7b152640d9
4 changed files with 11 additions and 3 deletions
1
erlang/.gitignore
vendored
1
erlang/.gitignore
vendored
|
|
@ -2,3 +2,4 @@ MANIFEST
|
|||
*.beam
|
||||
.omakedb*
|
||||
*.omc
|
||||
*~
|
||||
|
|
@ -30,10 +30,10 @@
|
|||
# If so, define the subdirectory targets and uncomment this section.
|
||||
#
|
||||
|
||||
.DEFAULT: msgpack.beam msgpack.html
|
||||
.DEFAULT: msgpack.beam
|
||||
|
||||
msgpack.beam: msgpack.erl
|
||||
erlc $<
|
||||
erlc -Wall +debug_info $<
|
||||
|
||||
msgpack.html: msgpack.erl
|
||||
erl -noshell -run edoc_run file $<
|
||||
|
|
@ -41,5 +41,8 @@ msgpack.html: msgpack.erl
|
|||
test: msgpack.beam
|
||||
erl -noshell -s msgpack test -s init stop
|
||||
|
||||
edoc: msgpack.erl
|
||||
erl -noshell -eval 'ok=edoc:files(["msgpack.erl"], [{dir, "edoc"}]).' -s init stop
|
||||
|
||||
clean:
|
||||
-rm -f *.beam *.html
|
||||
|
|
|
|||
4
erlang/edoc/.gitignore
vendored
Normal file
4
erlang/edoc/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
*.html
|
||||
*.css
|
||||
*.png
|
||||
edoc-info
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
%% @doc <a href="http://msgpack.org/">MessagePack</a> codec for Erlang.
|
||||
%%
|
||||
%% APIs are almost compatible with <a href="http://msgpack.sourceforge.jp/c:doc">C API</a>
|
||||
%% APIs are almost compatible with <a href="http://redmine.msgpack.org/projects/msgpack/wiki/QuickStartC">C API</a>
|
||||
%% except for buffering functions (both copying and zero-copying), which are unavailable.
|
||||
%%
|
||||
%% <table border="1">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue