0.3.2 • Published 10 years ago

spm-doc v0.3.2

Weekly downloads
3
License
-
Repository
github
Last release
10 years ago

spm-doc

A CMD module documentation generator.


Install

Install spm-doc with npm:

$ npm install spm-doc -g

Usage

Build the documentation:

$ spm-doc build [options]

If you have installed spm2:

$ spm doc build [options]

Start a server at 127.0.0.1:8000:

$ spm doc server

Start a server at 127.0.0.1:8000, watching the source files change:

$ spm doc watch

Publish documentation to spmjs.org:

$ spm doc publish [options]

Clean the _site folder:

$ spm doc clean

Themes

The default theme path is ~/.spm/themes.

Install a theme:

git clone git://github.com/spmjs/nico-cmd.git ~/.spm/themes/cmd

The default theme nico-cmd would be installed when spm-doc is installed.

How to write a document

Follow the instruction in nico-cmd.

Changelog

0.3.2

  • fixed missing color in cli
  • fixed #5
  • update nico version

0.3.1

  • add callback argument

0.3.0

  • use CMD theme as default theme

0.2.8

  • remove spm-grunt
  • nico 0.4.4

0.2.7

  • nico 0.4.3

0.2.1

  • Fix the sync execute problem.
  • Fix the theme choosing logic.
0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

11 years ago

0.2.10

11 years ago

0.2.9

11 years ago

0.2.8

11 years ago

0.2.7

11 years ago

0.2.6

11 years ago

0.2.5

11 years ago

0.2.4

11 years ago

0.2.2

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.0a1

11 years ago