Skip to content

A tool to extract metadata from code and export as yaml files

Notifications You must be signed in to change notification settings

FlaxEngine/code2yaml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code2yaml for Flax

A tool to extract metadata from code and export as yaml files for Flax Docs.

configure code2yaml

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 path
  • exclude_paths: an array of exclude paths. Code in the paths wouldn't be extracted metadata.
  • language: it now supports cplusplus, java.
  • repo_remap: remaps the repository urls
  • exclude_types: excluides types by matching regex
  • doxygen_template_file: custom Doxygen file template
  • assembly: override assembly name entry

Note all the paths(path in input_paths, exclude_paths or output_path) are either absolute path or path relative to code2yaml.json

run code2yaml

  1. build the solution. open cmd shell. build.cmd
  2. code2yaml.exe code2yaml.json

About

A tool to extract metadata from code and export as yaml files

Resources

Stars

Watchers

Forks

Languages

  • C# 91.6%
  • XSLT 5.5%
  • C++ 1.8%
  • Batchfile 1.1%