13b6c3722Schristos# -*- coding: utf-8 -*- 23b6c3722Schristos# 33b6c3722Schristos# Unbound documentation build configuration file 43b6c3722Schristos# 53b6c3722Schristos# This file is execfile()d with the current directory set to its containing dir. 63b6c3722Schristos# 73b6c3722Schristos# The contents of this file are pickled, so don't put values in the namespace 83b6c3722Schristos# that aren't pickleable (module imports are okay, they're removed automatically). 93b6c3722Schristos# 103b6c3722Schristos# All configuration values have a default value; values that are commented out 113b6c3722Schristos# serve to show the default value. 123b6c3722Schristos 133b6c3722Schristosimport sys, os 143b6c3722Schristos 153b6c3722Schristos# If your extensions are in another directory, add it here. If the directory 163b6c3722Schristos# is relative to the documentation root, use os.path.abspath to make it 173b6c3722Schristos# absolute, like shown here. 183b6c3722Schristossys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'../'))) 193b6c3722Schristossys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'../../../'))) 203b6c3722Schristossys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'../../../.libs/'))) 213b6c3722Schristos#print sys.path 223b6c3722Schristos 233b6c3722Schristos# General configuration 243b6c3722Schristos# --------------------- 253b6c3722Schristos 263b6c3722Schristos# Add any Sphinx extension module names here, as strings. They can be extensions 273b6c3722Schristos# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. 283b6c3722Schristosextensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest'] 293b6c3722Schristos 303b6c3722Schristos# Add any paths that contain templates here, relative to this directory. 313b6c3722Schristostemplates_path = ['_templates'] 323b6c3722Schristos 333b6c3722Schristos# The suffix of source filenames. 343b6c3722Schristossource_suffix = '.rst' 353b6c3722Schristos 363b6c3722Schristos# The master toctree document. 373b6c3722Schristosmaster_doc = 'index' 383b6c3722Schristos 393b6c3722Schristos# General substitutions. 403b6c3722Schristosproject = 'pyUnbound' 413b6c3722Schristoscopyright = '2009, Zdenek Vasicek, Marek Vavrusa' 423b6c3722Schristos 433b6c3722Schristos# The default replacements for |version| and |release|, also used in various 443b6c3722Schristos# other places throughout the built documents. 453b6c3722Schristos# 463b6c3722Schristos# The short X.Y version. 473b6c3722Schristosversion = '1.0' 483b6c3722Schristos# The full version, including alpha/beta/rc tags. 493b6c3722Schristosrelease = '1.0.0' 503b6c3722Schristos 513b6c3722Schristos# There are two options for replacing |today|: either, you set today to some 523b6c3722Schristos# non-false value, then it is used: 533b6c3722Schristos#today = '' 543b6c3722Schristos# Else, today_fmt is used as the format for a strftime call. 553b6c3722Schristostoday_fmt = '%B %d, %Y' 563b6c3722Schristos 573b6c3722Schristos# List of documents that shouldn't be included in the build. 583b6c3722Schristos#unused_docs = [] 593b6c3722Schristos 603b6c3722Schristos# List of directories, relative to source directories, that shouldn't be searched 613b6c3722Schristos# for source files. 623b6c3722Schristos#exclude_dirs = [] 633b6c3722Schristos 643b6c3722Schristos# The reST default role (used for this markup: `text`) to use for all documents. 653b6c3722Schristos#default_role = None 663b6c3722Schristos 673b6c3722Schristos# If true, '()' will be appended to :func: etc. cross-reference text. 683b6c3722Schristos#add_function_parentheses = True 693b6c3722Schristos 703b6c3722Schristos# If true, the current module name will be prepended to all description 713b6c3722Schristos# unit titles (such as .. function::). 723b6c3722Schristos#add_module_names = True 733b6c3722Schristos 743b6c3722Schristos# If true, sectionauthor and moduleauthor directives will be shown in the 753b6c3722Schristos# output. They are ignored by default. 763b6c3722Schristos#show_authors = False 773b6c3722Schristos 783b6c3722Schristos# The name of the Pygments (syntax highlighting) style to use. 793b6c3722Schristospygments_style = 'sphinx' 803b6c3722Schristos 813b6c3722Schristos 823b6c3722Schristos# Options for HTML output 833b6c3722Schristos# ----------------------- 843b6c3722Schristos 85*0cd9f4ecSchristos# The theme that the html output should use. 86*0cd9f4ecSchristoshtml_theme = "classic" 87*0cd9f4ecSchristos 883b6c3722Schristos# The style sheet to use for HTML and HTML Help pages. A file of that name 893b6c3722Schristos# must exist either in Sphinx' static/ path, or in one of the custom paths 903b6c3722Schristos# given in html_static_path. 91*0cd9f4ecSchristos#html_style = 'default.css' 923b6c3722Schristos 933b6c3722Schristos# The name for this set of Sphinx documents. If None, it defaults to 943b6c3722Schristos# "<project> v<release> documentation". 953b6c3722Schristos#html_title = None 963b6c3722Schristos 973b6c3722Schristos# A shorter title for the navigation bar. Default is the same as html_title. 983b6c3722Schristos#html_short_title = None 993b6c3722Schristos 1003b6c3722Schristos# The name of an image file (within the static path) to place at the top of 1013b6c3722Schristos# the sidebar. 1023b6c3722Schristos#html_logo = None 1033b6c3722Schristos 1043b6c3722Schristos# The name of an image file (within the static path) to use as favicon of the 1053b6c3722Schristos# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 1063b6c3722Schristos# pixels large. 1073b6c3722Schristos#html_favicon = None 1083b6c3722Schristos 1093b6c3722Schristos# Add any paths that contain custom static files (such as style sheets) here, 1103b6c3722Schristos# relative to this directory. They are copied after the builtin static files, 1113b6c3722Schristos# so a file named "default.css" will overwrite the builtin "default.css". 1123b6c3722Schristoshtml_static_path = ['_static'] 1133b6c3722Schristos 1143b6c3722Schristos# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, 1153b6c3722Schristos# using the given strftime format. 1163b6c3722Schristoshtml_last_updated_fmt = '%b %d, %Y' 1173b6c3722Schristos 1183b6c3722Schristos# If true, SmartyPants will be used to convert quotes and dashes to 1193b6c3722Schristos# typographically correct entities. 1203b6c3722Schristos#html_use_smartypants = True 1213b6c3722Schristos 1223b6c3722Schristos# Custom sidebar templates, maps document names to template names. 1233b6c3722Schristos#html_sidebars = {} 1243b6c3722Schristos 1253b6c3722Schristos# Additional templates that should be rendered to pages, maps page names to 1263b6c3722Schristos# template names. 1273b6c3722Schristos#html_additional_pages = {} 1283b6c3722Schristos 1293b6c3722Schristos# If false, no module index is generated. 1303b6c3722Schristoshtml_use_modindex = False 1313b6c3722Schristos 1323b6c3722Schristos# If false, no index is generated. 1333b6c3722Schristos#html_use_index = True 1343b6c3722Schristos 1353b6c3722Schristos# If true, the index is split into individual pages for each letter. 1363b6c3722Schristos#html_split_index = False 1373b6c3722Schristos 1383b6c3722Schristos# If true, the reST sources are included in the HTML build as _sources/<name>. 1393b6c3722Schristoshtml_copy_source = False 1403b6c3722Schristos 1413b6c3722Schristos# If true, an OpenSearch description file will be output, and all pages will 1423b6c3722Schristos# contain a <link> tag referring to it. The value of this option must be the 1433b6c3722Schristos# base URL from which the finished HTML is served. 1443b6c3722Schristos#html_use_opensearch = '' 1453b6c3722Schristos 1463b6c3722Schristos# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). 1473b6c3722Schristos#html_file_suffix = '' 1483b6c3722Schristos 1493b6c3722Schristos# Output file base name for HTML help builder. 1503b6c3722Schristoshtmlhelp_basename = 'Unbounddoc' 1513b6c3722Schristos 1523b6c3722Schristos 1533b6c3722Schristos# Options for LaTeX output 1543b6c3722Schristos# ------------------------ 1553b6c3722Schristos 1563b6c3722Schristos# The paper size ('letter' or 'a4'). 1573b6c3722Schristos#latex_paper_size = 'letter' 1583b6c3722Schristos 1593b6c3722Schristos# The font size ('10pt', '11pt' or '12pt'). 1603b6c3722Schristos#latex_font_size = '10pt' 1613b6c3722Schristos 1623b6c3722Schristos# Grouping the document tree into LaTeX files. List of tuples 1633b6c3722Schristos# (source start file, target name, title, author, document class [howto/manual]). 1643b6c3722Schristoslatex_documents = [ 1653b6c3722Schristos ('index', 'Unbound.tex', 'Unbound Documentation', 1663b6c3722Schristos 'Zdenek Vasicek, Marek Vavrusa', 'manual'), 1673b6c3722Schristos] 1683b6c3722Schristos 1693b6c3722Schristos# The name of an image file (relative to this directory) to place at the top of 1703b6c3722Schristos# the title page. 1713b6c3722Schristos#latex_logo = None 1723b6c3722Schristos 1733b6c3722Schristos# For "manual" documents, if this is true, then toplevel headings are parts, 1743b6c3722Schristos# not chapters. 1753b6c3722Schristos#latex_use_parts = False 1763b6c3722Schristos 1773b6c3722Schristos# Additional stuff for the LaTeX preamble. 1783b6c3722Schristos#latex_preamble = '' 1793b6c3722Schristos 1803b6c3722Schristos# Documents to append as an appendix to all manuals. 1813b6c3722Schristos#latex_appendices = [] 1823b6c3722Schristos 1833b6c3722Schristos# If false, no module index is generated. 1843b6c3722Schristos#latex_use_modindex = True 185