]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - pythonmod/doc/conf.py
import unbound 1.6.0
[FreeBSD/FreeBSD.git] / pythonmod / doc / conf.py
1 # -*- coding: utf-8 -*-
2 #
3 # Unbound scripting interface documentation build configuration file
4 #
5 # This file is execfile()d with the current directory set to its containing dir.
6 #
7 # The contents of this file are pickled, so don't put values in the namespace
8 # that aren't pickleable (module imports are okay, they're removed automatically).
9 #
10 # All configuration values have a default value; values that are commented out
11 # serve to show the default value.
12
13 import sys, os
14
15 # If your extensions are in another directory, add it here. If the directory
16 # is relative to the documentation root, use os.path.abspath to make it
17 # absolute, like shown here.
18 sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'../..')))
19 #print sys.path
20
21 # General configuration
22 # ---------------------
23
24 # Add any Sphinx extension module names here, as strings. They can be extensions
25 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
26 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest']
27
28 # Add any paths that contain templates here, relative to this directory.
29 templates_path = ['_templates']
30
31 # The suffix of source filenames.
32 source_suffix = '.rst'
33
34 # The master toctree document.
35 master_doc = 'index'
36
37 # General substitutions.
38 project = 'Unbound scriptable interface'
39 copyright = '2009, Zdenek Vasicek, Marek Vavrusa'
40
41 # The default replacements for |version| and |release|, also used in various
42 # other places throughout the built documents.
43 #
44 # The short X.Y version.
45 version = '1.0'
46 # The full version, including alpha/beta/rc tags.
47 release = '1.0.0'
48
49 # There are two options for replacing |today|: either, you set today to some
50 # non-false value, then it is used:
51 #today = ''
52 # Else, today_fmt is used as the format for a strftime call.
53 today_fmt = '%B %d, %Y'
54
55 # List of documents that shouldn't be included in the build.
56 #unused_docs = []
57
58 # List of directories, relative to source directories, that shouldn't be searched
59 # for source files.
60 #exclude_dirs = []
61
62 # The reST default role (used for this markup: `text`) to use for all documents.
63 #default_role = None
64
65 # If true, '()' will be appended to :func: etc. cross-reference text.
66 #add_function_parentheses = True
67
68 # If true, the current module name will be prepended to all description
69 # unit titles (such as .. function::).
70 #add_module_names = True
71
72 # If true, sectionauthor and moduleauthor directives will be shown in the
73 # output. They are ignored by default.
74 #show_authors = False
75
76 # The name of the Pygments (syntax highlighting) style to use.
77 pygments_style = 'sphinx'
78
79
80 # Options for HTML output
81 # -----------------------
82
83 # The theme that the html output should use.
84 html_theme = "classic"
85
86 # The style sheet to use for HTML and HTML Help pages. A file of that name
87 # must exist either in Sphinx' static/ path, or in one of the custom paths
88 # given in html_static_path.
89 #html_style = 'default.css'
90
91 # The name for this set of Sphinx documents.  If None, it defaults to
92 # "<project> v<release> documentation".
93 #html_title = None
94
95 # A shorter title for the navigation bar.  Default is the same as html_title.
96 #html_short_title = None
97
98 # The name of an image file (within the static path) to place at the top of
99 # the sidebar.
100 #html_logo = None
101
102 # The name of an image file (within the static path) to use as favicon of the
103 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
104 # pixels large.
105 #html_favicon = None
106
107 # Add any paths that contain custom static files (such as style sheets) here,
108 # relative to this directory. They are copied after the builtin static files,
109 # so a file named "default.css" will overwrite the builtin "default.css".
110 html_static_path = ['_static']
111
112 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
113 # using the given strftime format.
114 html_last_updated_fmt = '%b %d, %Y'
115
116 # If true, SmartyPants will be used to convert quotes and dashes to
117 # typographically correct entities.
118 #html_use_smartypants = True
119
120 # Custom sidebar templates, maps document names to template names.
121 #html_sidebars = {}
122
123 # Additional templates that should be rendered to pages, maps page names to
124 # template names.
125 #html_additional_pages = {}
126
127 # If false, no module index is generated.
128 html_use_modindex = False
129
130 # If false, no index is generated.
131 html_use_index = True
132
133 # If true, the index is split into individual pages for each letter.
134 #html_split_index = False
135
136 # If true, the reST sources are included in the HTML build as _sources/<name>.
137 html_copy_source = False
138
139 # If true, an OpenSearch description file will be output, and all pages will
140 # contain a <link> tag referring to it.  The value of this option must be the
141 # base URL from which the finished HTML is served.
142 #html_use_opensearch = ''
143
144 # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
145 #html_file_suffix = ''
146
147 # Output file base name for HTML help builder.
148 htmlhelp_basename = 'unbound_interface'
149
150
151 # Options for LaTeX output
152 # ------------------------
153
154 # The paper size ('letter' or 'a4').
155 #latex_paper_size = 'letter'
156
157 # The font size ('10pt', '11pt' or '12pt').
158 #latex_font_size = '10pt'
159
160 # Grouping the document tree into LaTeX files. List of tuples
161 # (source start file, target name, title, author, document class [howto/manual]).
162 latex_documents = [
163   ('index', 'Unbound_interface.tex', 'Unbound scriptable interface',
164    'Zdenek Vasicek, Marek Vavrusa', 'manual'),
165 ]
166
167 # The name of an image file (relative to this directory) to place at the top of
168 # the title page.
169 #latex_logo = None
170
171 # For "manual" documents, if this is true, then toplevel headings are parts,
172 # not chapters.
173 #latex_use_parts = False
174
175 # Additional stuff for the LaTeX preamble.
176 #latex_preamble = ''
177
178 # Documents to append as an appendix to all manuals.
179 #latex_appendices = []
180
181 # If false, no module index is generated.
182 #latex_use_modindex = True