Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.
/ docmd Public archive

Tool generating linked github.com flavored markdown documentation for PHP source.

License

Notifications You must be signed in to change notification settings

rzajac/docmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DocMd

Tool generating linked github.com flavored markdown documentation for PHP source.

Installation

Composer install:

{
    "require": {
        "rzajac/docmd": "0.1.*"
    }
}

Composer globally:

$ composer global require rzajac/docmd

How to use

$ docmd generate -h
Usage:
  generate [options]

Options:
  -c, --config[=CONFIG]  The path to docmd.json. If not set it will search for docmd.json in current directory
  -h, --help             Display this help message
  -q, --quiet            Do not output any message
  -V, --version          Display this application version
      --ansi             Force ANSI output
      --no-ansi          Disable ANSI output
  -n, --no-interaction   Do not ask any interactive question
  -v|vv|vvv, --verbose   Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
 Generate markdown documentation

Config file

The config is in JSON format.

{
  "tmp": "path/to/tmp/directory",
  "doc": "path/where/to/put/documentation",
  "src": "path/to/source/you/wish/to/generate/documentation/for",
  "project_name": "Name of your project"
}

All paths in this file must be relative to docmd.json file.

Examples

About

Tool generating linked github.com flavored markdown documentation for PHP source.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages