# 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(os.path.dirname(__file__)))
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "_ext")))
sys.path.append(os.path.abspath(os.path.dirname(os.path.dirname(__file__))))
# Import loader so that loader_tags will be correctly added to builtins. Weird import situations... this is necessary for doc build to work.
from django.template import loader
+# HACK to override descriptors that would cause AttributeErrors to be raised otherwise (which would keep them from being documented.)
+from philo.contrib.sobol.models import SearchView
+SearchView.searches = 5
+from philo.models.nodes import TargetURLModel, File
+TargetURLModel.reversing_parameters = 5
+File.file = 5
+
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
# General information about the project.
project = u'Philo'
-copyright = u'2011, Joseph Spiros'
+copyright = u'2009-2012, iThink Software'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
#
# The short X.Y version.
from philo import VERSION
-version = '%s.%s' % (VERSION[0], VERSION[1])
+version = '.'.join([str(v) for v in VERSION])
# The full version, including alpha/beta/rc tags.
release = version
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'Philo.tex', u'Philo Documentation',
- u'Stephen Burrows', 'manual'),
+ u'iThink Software', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'philo', u'Philo Documentation',
- [u'Stephen Burrows'], 1)
+ [u'iThink Software'], 1)
]
def skip_attribute_attrs(app, what, name, obj, skip, options):