Last updated 6 years ago by wildhoney .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gman 
SYNC missed versions from official npm registry.


Travis   npm

  • npm: npm install gman -g

G-Man is a documentation engine which uses as the doc source, and parses Markdown documents to provide an easy way for developers to read documentation. All of the options in G-Man can be configured with the .gman.yml configuration.

G-Man and Cat
Source: ViaEstelar on

Getting Started

G-Man follows a format that allows a readable format in both GitHub and the CLI. By following the standards your output will look something similar to the following:

G-Man Screenshot v0.1.0

Documentation Title

When the developer opens the documentation page they will want to know what they're looking at quick glance, for this we specify a main header:

# G-Man Documentation

Underneath the documentation header you can specify the responsibility and any other information you feel necessary.

# G-Man Documentation

Responsible for providing the entry point to the G-Man documentation.

We then begin specifying the methods present in the related file followed by the methods themselves.

## Methods

### renderTemplate

Underneath the renderTemplate method we will document its parameters – specifying additional information between asterisks: *(private)*.

## Methods

### renderTemplate
 * `firstParam` *{String}* Name of your self-invoking method;
 * `secondParam` *{Function}* Optional callback that will be invoked after success;

We can also specify the responsibility of the method by adding another header to the documentation.

### specifyExitCallback *(private)*

#### Responsible for attaching an event to the exit process.

Current Tags

  • 0.1.5                                ...           latest (6 years ago)

6 Versions

  • 0.1.5                                ...           6 years ago
  • 0.1.4                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 3
Dependencies (12)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © |