Ease the process of doc generation #222

Merged
zxq9 merged 4 commits from doc-gen into master 2021-11-04 16:45:27 +09:00
Showing only changes of commit 326fca709f - Show all commits

View File

@ -5,6 +5,7 @@
-export( -export(
[ gen_protocol_opcodes_flags_and_gas/1 [ gen_protocol_opcodes_flags_and_gas/1
, gen_protocol_description_of_operations/1 , gen_protocol_description_of_operations/1
, gen_protocol_opcodes/1
]). ]).
-define(LIMA_PROTOCOL_VSN, 4). -define(LIMA_PROTOCOL_VSN, 4).
@ -124,3 +125,8 @@ gen_protocol_opcodes_flags_and_gas(Filename) ->
generate_documentation( generate_documentation(
Filename, [opcode, opname, end_bb, in_auth, offchain, gas] Filename, [opcode, opname, end_bb, in_auth, offchain, gas]
). ).
gen_protocol_opcodes(Filename) ->
generate_documentation(
Filename, [opcode, opname]
).