# 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('.'))
+sys.path.append(os.path.abspath('../ext'))
# -- General configuration -----------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = []
+extensions = ['aafig', 'fig', 'vref', 'graphviz', 'sphinx.ext.pngmath']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['.templates']
#latex_use_parts = False
# Additional stuff for the LaTeX preamble.
-latex_preamble = '\setcounter{tocdepth}{3}'
+latex_preamble = r'''
+\usepackage{varioref} % XXX: breaks PDF index
+\usepackage{subfigure}
+\setcounter{tocdepth}{2}
+'''
# Documents to append as an appendix to all manuals.
#latex_appendices = []
# If false, no module index is generated.
latex_use_modindex = False
+# aafig default options
+aafig_default_options = dict(
+ proportional = True,
+ scale = 1.3,
+ aspect = 0.5,
+)
+