qsgen 0.2

Quick site generator
qsgen is a static site generator written in Python. It uses a set of Mako input templates and outputs a static site. qsgen also has builtin support for code documentation and commenting with highlight generation using Pygments.

Installation:

 python setup.py install

All dependencies should be dealt with automatically.

Usage:

qsgen accepts only two command line parameters - the desination directory, and optionally the source directory.

qsgen /var/www /home/user/sitesource

qsgen will attempt to copy all files which are not .html files. It will also by default NOT copy files beginning with an underscore (_base.html for instance), which it considers to be private templating files. This closely mimics Python's approach to 'private' class methods.

Main features:

  • Mako templating - by default all .html files are transformed by Mako
  • Pygments syntax highlighting builtin via ${pygment("print 'Hi'")} or file references via pygment_file
  • Copies non-transformed files into the destination directory directly.
  • No configuration files to write, no rigid structure to follow.

last updated on:
November 18th, 2009, 8:50 GMT
price:
FREE!
developed by:
Yann Ramin
homepage:
www.stackfoundry.com
license type:
MIT/X Consortium License 
category:
ROOT \ Programming \ Code Generators

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT