X-Git-Url: https://git.llucax.com/z.facultad/75.00/informe.git/blobdiff_plain/9807a6191b2fbf16cd9c05766a410b9844a372f3..869d3714190bbd53b65eee4e3e352f7035277a3e:/source/conf.py?ds=inline diff --git a/source/conf.py b/source/conf.py index 9de2d65..c6e161e 100644 --- a/source/conf.py +++ b/source/conf.py @@ -22,7 +22,13 @@ sys.path.append(os.path.abspath('../ext')) # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['aafig', 'fig', 'vref', 'graphviz', 'sphinx.ext.pngmath'] +extensions = [ + 'aafig', + 'fig', + 'vref', + 'sphinx.ext.graphviz', + 'sphinx.ext.pngmath', +] # Add any paths that contain templates here, relative to this directory. templates_path = ['.templates'] @@ -83,6 +89,9 @@ exclude_trees = [] # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' +# The default language to highlight source code in. The default is 'python'. +highlight_language = 'd' + # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] @@ -186,7 +195,7 @@ latex_logo = 'fiuba.png' # Additional stuff for the LaTeX preamble. latex_preamble = r''' -\usepackage{varioref} % XXX: breaks PDF index +\usepackage[draft]{varioref} % XXX: breaks PDF index, use [final] when done \usepackage{subfigure} \setcounter{tocdepth}{2} '''