1# $URL$ 2# $Rev$ 3 4# PyPNG documentation build configuration file, created by 5# sphinx-quickstart on Mon Mar 16 13:12:26 2009. 6# Then brutally hacked down by drj. 7# See http://sphinx.pocoo.org/config.html 8 9import sys, os 10 11# So that local modules get picked up, and picked up first. 12sys.path.insert(0, os.path.abspath('../code')) 13# So that setup.py can be picked up and used for its conf member 14sys.path.insert(0, os.path.abspath('..')) 15 16# Expecting to find ../setup.py 17from setup import conf 18 19# General configuration 20# --------------------- 21 22extensions = ['sphinx.ext.autodoc'] 23templates_path = [] 24source_suffix = '.rst' 25master_doc = 'index' 26project = u'PyPNG' 27copyright = u'2009, ' + conf['author'] 28release = conf['version'] 29version = release[:release.rfind('.')] 30language='en' 31today_fmt = '%Y-%m-%d' 32exclude_trees = ['build'] 33 34 35# Options for HTML output 36# ----------------------- 37 38html_static_path = [] 39html_last_updated_fmt = '%Y-%m-%dT%H:%M:%S' 40htmlhelp_basename = 'PyPNGdoc' 41 42 43# Options for LaTeX output 44# ------------------------ 45 46# The paper size ('letter' or 'a4'). 47latex_paper_size = 'a4' 48 49# The font size ('10pt', '11pt' or '12pt'). 50#latex_font_size = '10pt' 51 52# Grouping the document tree into LaTeX files. List of tuples 53# (source start file, target name, title, author, document class [howto/manual]). 54latex_documents = [ 55 ('index', 'PyPNG.tex', ur'PyPNG Documentation', 56 ur'David Jones', 'manual'), 57] 58 59# The name of an image file (relative to this directory) to place at the top of 60# the title page. 61#latex_logo = None 62 63# http://sphinx.pocoo.org/ext/autodoc.html?highlight=__init__ 64autoclass_content='both' 65