Skip to content
/ mddoc Public

Markdown Documentation Generator for Ansible

Notifications You must be signed in to change notification settings

raznikk/mddoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MDDOC

This project generates documentation from within an ansible role in markdown format. This project was created because I was tired of trying to generate documentation for complicated Ansible roles. It is an incredibly basic parser with a slightly less simple Makefile that generates the README for a project.

Feel free to use this in any project you have.

Usage

To use this software, copy the Makefile and the mddoc script to the main directory of your Ansible role. Once done, you may need to edit the Makefile.

By default, mddoc and the Makefile will parse files within role directories with the following ordering:

  1. meta
  2. defaults
  3. vars
  4. tasks
  5. handlers
  6. files
  7. templates

So, yml files within the meta directory will be parsed first, followed by defaults, then vars, tasks, handlers, files and templates.

To run the documentation parser, simply run make at the root of your Ansible role.



About

Markdown Documentation Generator for Ansible

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published