8000 GitHub - Chris1221/yamldoc at 0.1.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Chris1221/yamldoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation Engine for YAML

PyPI version CircleCI codecov

This package converts a YAML file into markdown, formatting values and associated metadata in a doxygen-like way.

Installation

pip install yamldoc

This will install the python package, which contains a command line interface yamldoc.

Usage

For a basic report, point the command line interface to a YAML file.

yamldoc test/yaml/basic.yaml

You can also include type information from a schema file.

yamldoc test/yaml/basic.yaml -s test/schema/basic.schema

Other Options

yamldoc defaults to using #' as a special marker, but you can choose this character yourself if you wish. Just set it on the command line at parse-time:

yamldoc test/yaml/basic.yaml -c "YOURCHAR"

yamldoc also includes support for certain special declarations in the schema file. Right now these include:

  • _yamldoc_title: This specifies the overall title of the markdown page generated.
  • _yamldoc_description: A description to follow the title.

These are picked out of the schema file and reported.

About

Dependency-free YAML documentation engine.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages

0