Skip to main content

Doc generator with styles, and syntax highlighting blocks

Project description

mopowg is an easy to install, cross-platform doc generator which is based on docutils.

mopowg could generate full documents with figures, styles, and syntax highlighting blocks.

It includes a command line tool and will provide the web front-end.

Install mopowg

You could use easy_install command to install mopowg:

$ easy_install mopowg

or you could install mopowg from sourse

First download the source:

$ hg clone http://hg.python.org.tw/mopowg

then:

$ python setup.py install

Usage

Run as a command

$ mopowg -i docs

Run as a single file

You could embeded mopowg into your project with a single file.

put mopowg.py to a document folder. run mopowg.py:

$ python mopowg.py -i docs

Run as a module

You could import mopowg module in your program:

import os
from mopowg import mopowg

path = os.path.join(os.getcwd(), 'docs')
ld = mopowg.scanner(path)
mopowg.generator(input=ld)

ChangeLog

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page