1 # -*- coding: utf-8 -*-
3 # tesis documentation build configuration file, created by
4 # sphinx-quickstart on Thu May 7 21:24:51 2009.
6 # This file is execfile()d with the current directory set to its containing dir.
8 # Note that not all possible configuration values are present in this
11 # All configuration values have a default; values that are commented out
12 # serve to show the default.
16 # If extensions (or modules to document with autodoc) are in another directory,
17 # add these directories to sys.path here. If the directory is relative to the
18 # documentation root, use os.path.abspath to make it absolute, like shown here.
19 sys.path.insert(0, os.path.abspath('../ext'))
21 # -- General configuration -----------------------------------------------------
23 # Add any Sphinx extension module names here, as strings. They can be extensions
24 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
31 'sphinx.ext.graphviz',
35 # Add any paths that contain templates here, relative to this directory.
36 templates_path = ['.templates']
38 # The suffix of source filenames.
39 source_suffix = '.rst'
41 # The encoding of source files.
42 #source_encoding = 'utf-8'
44 # The master toctree document.
47 # General information about the project.
49 copyright = u'2010, Leandro Matías Lucarella'
51 # The version info for the project you're documenting, acts as replacement for
52 # |version| and |release|, also used in various other places throughout the
55 # The short X.Y version.
57 # The full version, including alpha/beta/rc tags.
60 # The language for content autogenerated by Sphinx. Refer to documentation
61 # for a list of supported languages.
64 # There are two options for replacing |today|: either, you set today to some
65 # non-false value, then it is used:
67 # Else, today_fmt is used as the format for a strftime call.
68 today_fmt = 'Octubre 2010'
70 # List of documents that shouldn't be included in the build.
73 # List of directories, relative to source directory, that shouldn't be searched
77 # The reST default role (used for this markup: `text`) to use for all documents.
80 # If true, '()' will be appended to :func: etc. cross-reference text.
81 #add_function_parentheses = True
83 # If true, the current module name will be prepended to all description
84 # unit titles (such as .. function::).
85 #add_module_names = True
87 # If true, sectionauthor and moduleauthor directives will be shown in the
88 # output. They are ignored by default.
91 # The name of the Pygments (syntax highlighting) style to use.
92 pygments_style = 'sphinx'
94 # The default language to highlight source code in. The default is 'python'.
95 highlight_language = 'pcode'
97 # A list of ignored prefixes for module index sorting.
98 #modindex_common_prefix = []
101 # -- Options for HTML output ---------------------------------------------------
103 # The theme to use for HTML and HTML Help pages. Major themes that come with
104 # Sphinx are currently 'default' and 'sphinxdoc'.
105 html_theme = 'default'
107 # Theme options are theme-specific and customize the look and feel of a theme
108 # further. For a list of options available for each theme, see the
110 #html_theme_options = {}
112 # Add any paths that contain custom themes here, relative to this directory.
113 #html_theme_path = []
115 # The name for this set of Sphinx documents. If None, it defaults to
116 # "<project> v<release> documentation".
119 # A shorter title for the navigation bar. Default is the same as html_title.
120 #html_short_title = None
122 # The name of an image file (relative to this directory) to place at the top
126 # The name of an image file (within the static path) to use as favicon of the
127 # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
131 # Add any paths that contain custom static files (such as style sheets) here,
132 # relative to this directory. They are copied after the builtin static files,
133 # so a file named "default.css" will overwrite the builtin "default.css".
134 html_static_path = ['.static']
136 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
137 # using the given strftime format.
138 #html_last_updated_fmt = '%b %d, %Y'
140 # If true, SmartyPants will be used to convert quotes and dashes to
141 # typographically correct entities.
142 #html_use_smartypants = True
144 # Custom sidebar templates, maps document names to template names.
147 # Additional templates that should be rendered to pages, maps page names to
149 #html_additional_pages = {}
151 # If false, no module index is generated.
152 #html_use_modindex = True
154 # If false, no index is generated.
155 #html_use_index = True
157 # If true, the index is split into individual pages for each letter.
158 #html_split_index = False
160 # If true, links to the reST sources are added to the pages.
161 #html_show_sourcelink = True
163 # If true, an OpenSearch description file will be output, and all pages will
164 # contain a <link> tag referring to it. The value of this option must be the
165 # base URL from which the finished HTML is served.
166 #html_use_opensearch = ''
168 # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
169 #html_file_suffix = ''
171 # Output file base name for HTML help builder.
172 htmlhelp_basename = 'tesisdoc'
175 # -- Options for LaTeX output --------------------------------------------------
177 # The paper size ('letter' or 'a4').
178 latex_paper_size = 'a4'
180 # The font size ('10pt', '11pt' or '12pt').
181 latex_font_size = '11pt'
183 # Grouping the document tree into LaTeX files. List of tuples
184 # (source start file, target name, title, author, documentclass [howto/manual]).
186 ('index', 'tesis.tex', u'Recolección de basura en D',
187 u'Leandro Matías Lucarella', 'manual'),
190 # The name of an image file (relative to this directory) to place at the top of
194 # For "manual" documents, if this is true, then toplevel headings are parts,
196 #latex_use_parts = False
198 # Additional stuff for the LaTeX preamble.
199 latex_preamble = r'''
200 \usepackage{epigraph}
201 \usepackage[final]{varioref} % XXX: breaks PDF index, use [final] when done
204 % Relaja restricciones de LaTeX para floats, ver:
205 % http://mintaka.sdsu.edu/GF/bibliog/latex/floats.html
206 % http://www.tex.ac.uk/cgi-bin/texfaq2html?label=floats
207 \renewcommand{\topfraction}{.7}
208 \renewcommand{\bottomfraction}{.7}
209 \renewcommand{\textfraction}{.05}
210 \renewcommand{\floatpagefraction}{.7}
211 \setcounter{topnumber}{1}
212 \setcounter{bottomnumber}{1}
213 \setcounter{totalnumber}{4}
215 % Profundida maxima de tabla de contenidos
216 \setcounter{tocdepth}{2}
218 % Color de fondo de codigo
219 \definecolor{VerbatimColor}{rgb}{0.95,0.95,0.95}
220 \definecolor{VerbatimBorderColor}{rgb}{0.75,0.75,0.75}
222 % Definiciones para PDF
224 pdftitle={Recolecci\'on de basura en D},
225 pdfauthor={Leandro Mat\'ias Lucarella},
226 pdfsubject={Tesis de Ingenier\'ia en Inform\'atica, FIUBA},
227 pdfkeywords={gc}{d}{cdgc}{fork}{concurrent}
232 # Documents to append as an appendix to all manuals.
233 #latex_appendices = []
235 # If false, no module index is generated.
236 latex_use_modindex = False
238 # aafig default options
239 aafig_default_options = dict(
248 pygments_style = 'pygsty.PrintStyle'
249 latex_preamble += r'''
250 % Colores para imprimir
251 \definecolor{TitleColor}{rgb}{0,0,0}
252 \definecolor{InnerLinkColor}{rgb}{0,0,0}
253 \definecolor{OuterLinkColor}{rgb}{0,0,0}
254 \hypersetup{colorlinks=false}