|
|
|
|
@ -11,13 +11,19 @@
|
|
|
|
|
# All configuration values have a default; values that are commented out |
|
|
|
|
# serve to show the default. |
|
|
|
|
|
|
|
|
|
import sys, os |
|
|
|
|
import os |
|
|
|
|
import re |
|
|
|
|
import sys |
|
|
|
|
|
|
|
|
|
# If extensions (or modules to document with autodoc) are in another directory, |
|
|
|
|
# add these directories to sys.path here. If the directory is relative to the |
|
|
|
|
# documentation root, use os.path.abspath to make it absolute, like shown here. |
|
|
|
|
sys.path.append(os.path.abspath('..')) |
|
|
|
|
|
|
|
|
|
pkgmeta = {} |
|
|
|
|
execfile(os.path.join(os.path.dirname(__file__), '..', 'sigal', 'pkgmeta.py'), |
|
|
|
|
pkgmeta) |
|
|
|
|
|
|
|
|
|
# -- General configuration ----------------------------------------------------- |
|
|
|
|
|
|
|
|
|
# If your documentation needs a minimal Sphinx version, state it here. |
|
|
|
|
@ -41,16 +47,16 @@ master_doc = 'index'
|
|
|
|
|
|
|
|
|
|
# General information about the project. |
|
|
|
|
project = u'Sigal' |
|
|
|
|
copyright = u'2012, Simon Conseil' |
|
|
|
|
copyright = u'2012-2013, ' + pkgmeta['__author__'] |
|
|
|
|
|
|
|
|
|
# The version info for the project you're documenting, acts as replacement for |
|
|
|
|
# |version| and |release|, also used in various other places throughout the |
|
|
|
|
# built documents. |
|
|
|
|
# |
|
|
|
|
# The short X.Y version. |
|
|
|
|
version = '0.3.1' |
|
|
|
|
version = re.match('\d+\.\d+', pkgmeta['__version__']).group() |
|
|
|
|
# The full version, including alpha/beta/rc tags. |
|
|
|
|
release = '0.3.1' |
|
|
|
|
release = pkgmeta['__version__'] |
|
|
|
|
|
|
|
|
|
# The language for content autogenerated by Sphinx. Refer to documentation |
|
|
|
|
# for a list of supported languages. |
|
|
|
|
@ -188,7 +194,7 @@ latex_elements = {
|
|
|
|
|
# (source start file, target name, title, author, documentclass [howto/manual]). |
|
|
|
|
latex_documents = [ |
|
|
|
|
('index', 'Sigal.tex', u'Sigal Documentation', |
|
|
|
|
u'Simon Conseil', 'manual'), |
|
|
|
|
pkgmeta['__author__'], 'manual'), |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
# The name of an image file (relative to this directory) to place at the top of |
|
|
|
|
@ -218,7 +224,7 @@ latex_documents = [
|
|
|
|
|
# (source start file, name, description, authors, manual section). |
|
|
|
|
man_pages = [ |
|
|
|
|
('index', 'sigal', u'Sigal Documentation', |
|
|
|
|
[u'Simon Conseil'], 1) |
|
|
|
|
[pkgmeta['__author__']], 1) |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
# If true, show URL addresses after external links. |
|
|
|
|
@ -232,7 +238,7 @@ man_pages = [
|
|
|
|
|
# dir menu entry, description, category) |
|
|
|
|
texinfo_documents = [ |
|
|
|
|
('index', 'Sigal', u'Sigal Documentation', |
|
|
|
|
u'Simon Conseil', 'Sigal', 'One line description of project.', |
|
|
|
|
pkgmeta['__author__'], 'Sigal', 'One line description of project.', |
|
|
|
|
'Miscellaneous'), |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
@ -250,9 +256,9 @@ texinfo_documents = [
|
|
|
|
|
|
|
|
|
|
# Bibliographic Dublin Core info. |
|
|
|
|
epub_title = u'Sigal' |
|
|
|
|
epub_author = u'Simon Conseil' |
|
|
|
|
epub_publisher = u'Simon Conseil' |
|
|
|
|
epub_copyright = u'2012, Simon Conseil' |
|
|
|
|
epub_author = pkgmeta['__author__'] |
|
|
|
|
epub_publisher = pkgmeta['__author__'] |
|
|
|
|
epub_copyright = u'2012, ' + pkgmeta['__author__'] |
|
|
|
|
|
|
|
|
|
# The language of the text. It defaults to the language option |
|
|
|
|
# or en if the language is not set. |
|
|
|
|
|