A tool to extract metadata from code and export as yaml files for Flax Docs.
To use the tool, you need to provide a config file code2yaml.json
.
Here is a simple code2yaml.json
.
{
"input_paths": ["./my-project"],
"output_path": "./output",
"language": "cpp"
}
input_paths
: an array of input paths.output_path
: output pathexclude_paths
: an array of exclude paths. Code in the paths wouldn't be extracted metadata.language
: it now supportscplusplus
,java
.repo_remap
: remaps the repository urlsexclude_types
: excluides types by matching regexdoxygen_template_file
: custom Doxygen file templateassembly
: override assembly name entry
Note all the paths(path in
input_paths
,exclude_paths
oroutput_path
) are either absolute path or path relative to code2yaml.json
- build the solution.
open cmd shell.
build.cmd
code2yaml.exe code2yaml.json