annotate doc/conf.py @ 48:117856eabb9e

doc update
author Amine SEHILI <amine.sehili@gmail.com>
date Sun, 06 Mar 2016 14:56:06 +0100
parents 929c1e7477ac
children 308c89235a2e
rev   line source
amine@23 1 # -*- coding: utf-8 -*-
amine@23 2 #
amine@23 3 # auditok documentation build configuration file, created by
amine@23 4 # sphinx-quickstart on Mon Sep 21 21:20:14 2015.
amine@23 5 #
amine@23 6 # This file is execfile()d with the current directory set to its
amine@23 7 # containing dir.
amine@23 8 #
amine@23 9 # Note that not all possible configuration values are present in this
amine@23 10 # autogenerated file.
amine@23 11 #
amine@23 12 # All configuration values have a default; values that are commented out
amine@23 13 # serve to show the default.
amine@23 14
amine@23 15 import sys
amine@23 16 import os
amine@23 17 import shlex
amine@23 18
amine@23 19 # If extensions (or modules to document with autodoc) are in another directory,
amine@23 20 # add these directories to sys.path here. If the directory is relative to the
amine@23 21 # documentation root, use os.path.abspath to make it absolute, like shown here.
amine@23 22 #sys.path.insert(0, os.path.abspath('.'))
amine@23 23
amine@23 24 # -- General configuration ------------------------------------------------
amine@23 25
amine@23 26 # If your documentation needs a minimal Sphinx version, state it here.
amine@23 27 #needs_sphinx = '1.0'
amine@23 28
amine@23 29 # Add any Sphinx extension module names here, as strings. They can be
amine@23 30 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
amine@23 31 # ones.
amine@23 32 extensions = [
amine@32 33 'sphinx.ext.viewcode', 'sphinx.ext.autodoc', 'sphinx.ext.autosummary'
amine@23 34 ]
amine@23 35
amine@32 36 sys.path.insert(0, '../auditok/')
amine@32 37
amine@23 38 # Add any paths that contain templates here, relative to this directory.
amine@23 39 templates_path = ['_templates']
amine@23 40
amine@23 41 # The suffix(es) of source filenames.
amine@23 42 # You can specify multiple suffix as a list of string:
amine@23 43 # source_suffix = ['.rst', '.md']
amine@23 44 source_suffix = '.rst'
amine@23 45
amine@23 46 # The encoding of source files.
amine@23 47 #source_encoding = 'utf-8-sig'
amine@23 48
amine@23 49 # The master toctree document.
amine@23 50 master_doc = 'index'
amine@23 51
amine@23 52 # General information about the project.
amine@23 53 project = u'auditok'
amine@23 54 copyright = u'2015, Amine Sehili'
amine@23 55 author = u'Amine Sehili'
amine@23 56
amine@23 57 # The version info for the project you're documenting, acts as replacement for
amine@23 58 # |version| and |release|, also used in various other places throughout the
amine@23 59 # built documents.
amine@23 60 #
amine@23 61 # The short X.Y version.
amine@32 62 version = '0.1.4'
amine@23 63 # The full version, including alpha/beta/rc tags.
amine@32 64 release = '0.1.4'
amine@23 65
amine@23 66 # The language for content autogenerated by Sphinx. Refer to documentation
amine@23 67 # for a list of supported languages.
amine@23 68 #
amine@23 69 # This is also used if you do content translation via gettext catalogs.
amine@23 70 # Usually you set "language" from the command line for these cases.
amine@23 71 language = None
amine@23 72
amine@23 73 # There are two options for replacing |today|: either, you set today to some
amine@23 74 # non-false value, then it is used:
amine@23 75 #today = ''
amine@23 76 # Else, today_fmt is used as the format for a strftime call.
amine@23 77 #today_fmt = '%B %d, %Y'
amine@23 78
amine@23 79 # List of patterns, relative to source directory, that match files and
amine@23 80 # directories to ignore when looking for source files.
amine@23 81 exclude_patterns = ['_build']
amine@23 82
amine@23 83 # The reST default role (used for this markup: `text`) to use for all
amine@23 84 # documents.
amine@23 85 #default_role = None
amine@23 86
amine@23 87 # If true, '()' will be appended to :func: etc. cross-reference text.
amine@23 88 #add_function_parentheses = True
amine@23 89
amine@23 90 # If true, the current module name will be prepended to all description
amine@23 91 # unit titles (such as .. function::).
amine@23 92 #add_module_names = True
amine@23 93
amine@23 94 # If true, sectionauthor and moduleauthor directives will be shown in the
amine@23 95 # output. They are ignored by default.
amine@23 96 #show_authors = False
amine@23 97
amine@23 98 # The name of the Pygments (syntax highlighting) style to use.
amine@23 99 pygments_style = 'sphinx'
amine@23 100
amine@23 101 # A list of ignored prefixes for module index sorting.
amine@23 102 #modindex_common_prefix = []
amine@23 103
amine@23 104 # If true, keep warnings as "system message" paragraphs in the built documents.
amine@23 105 #keep_warnings = False
amine@23 106
amine@23 107 # If true, `todo` and `todoList` produce output, else they produce nothing.
amine@23 108 todo_include_todos = False
amine@23 109
amine@23 110
amine@23 111 # -- Options for HTML output ----------------------------------------------
amine@23 112
amine@23 113 # The theme to use for HTML and HTML Help pages. See the documentation for
amine@23 114 # a list of builtin themes.
amine@48 115 html_theme = 'sphinxdoc'
amine@32 116
amine@34 117
amine@23 118 # on_rtd is whether we are on readthedocs.org
amine@23 119 import os
amine@23 120 on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
amine@23 121
amine@48 122 """
amine@23 123 if not on_rtd: # only import and set the theme if we're building docs locally
amine@23 124 import sphinx_rtd_theme
amine@23 125 html_theme = 'sphinx_rtd_theme'
amine@23 126 html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
amine@48 127 """
amine@35 128
amine@23 129 # Theme options are theme-specific and customize the look and feel of a theme
amine@23 130 # further. For a list of options available for each theme, see the
amine@23 131 # documentation.
amine@23 132 #html_theme_options = {}
amine@23 133
amine@23 134 # Add any paths that contain custom themes here, relative to this directory.
amine@23 135 #html_theme_path = []
amine@23 136
amine@23 137 # The name for this set of Sphinx documents. If None, it defaults to
amine@23 138 # "<project> v<release> documentation".
amine@23 139 #html_title = None
amine@23 140
amine@23 141 # A shorter title for the navigation bar. Default is the same as html_title.
amine@23 142 #html_short_title = None
amine@23 143
amine@23 144 # The name of an image file (relative to this directory) to place at the top
amine@23 145 # of the sidebar.
amine@23 146 #html_logo = None
amine@23 147
amine@23 148 # The name of an image file (within the static path) to use as favicon of the
amine@23 149 # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
amine@23 150 # pixels large.
amine@23 151 #html_favicon = None
amine@23 152
amine@23 153 # Add any paths that contain custom static files (such as style sheets) here,
amine@23 154 # relative to this directory. They are copied after the builtin static files,
amine@23 155 # so a file named "default.css" will overwrite the builtin "default.css".
amine@23 156 html_static_path = ['_static']
amine@23 157
amine@23 158 # Add any extra paths that contain custom files (such as robots.txt or
amine@23 159 # .htaccess) here, relative to this directory. These files are copied
amine@23 160 # directly to the root of the documentation.
amine@23 161 #html_extra_path = []
amine@23 162
amine@23 163 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
amine@23 164 # using the given strftime format.
amine@23 165 #html_last_updated_fmt = '%b %d, %Y'
amine@23 166
amine@23 167 # If true, SmartyPants will be used to convert quotes and dashes to
amine@23 168 # typographically correct entities.
amine@23 169 #html_use_smartypants = True
amine@23 170
amine@23 171 # Custom sidebar templates, maps document names to template names.
amine@23 172 #html_sidebars = {}
amine@23 173
amine@23 174 # Additional templates that should be rendered to pages, maps page names to
amine@23 175 # template names.
amine@23 176 #html_additional_pages = {}
amine@23 177
amine@23 178 # If false, no module index is generated.
amine@23 179 #html_domain_indices = True
amine@23 180
amine@23 181 # If false, no index is generated.
amine@23 182 #html_use_index = True
amine@23 183
amine@23 184 # If true, the index is split into individual pages for each letter.
amine@23 185 #html_split_index = False
amine@23 186
amine@23 187 # If true, links to the reST sources are added to the pages.
amine@23 188 #html_show_sourcelink = True
amine@23 189
amine@23 190 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
amine@23 191 #html_show_sphinx = True
amine@23 192
amine@23 193 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
amine@23 194 #html_show_copyright = True
amine@23 195
amine@23 196 # If true, an OpenSearch description file will be output, and all pages will
amine@23 197 # contain a <link> tag referring to it. The value of this option must be the
amine@23 198 # base URL from which the finished HTML is served.
amine@23 199 #html_use_opensearch = ''
amine@23 200
amine@23 201 # This is the file name suffix for HTML files (e.g. ".xhtml").
amine@23 202 #html_file_suffix = None
amine@23 203
amine@23 204 # Language to be used for generating the HTML full-text search index.
amine@23 205 # Sphinx supports the following languages:
amine@23 206 # 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
amine@23 207 # 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr'
amine@23 208 #html_search_language = 'en'
amine@23 209
amine@23 210 # A dictionary with options for the search language support, empty by default.
amine@23 211 # Now only 'ja' uses this config value
amine@23 212 #html_search_options = {'type': 'default'}
amine@23 213
amine@23 214 # The name of a javascript file (relative to the configuration directory) that
amine@23 215 # implements a search results scorer. If empty, the default will be used.
amine@23 216 #html_search_scorer = 'scorer.js'
amine@23 217
amine@23 218 # Output file base name for HTML help builder.
amine@23 219 htmlhelp_basename = 'auditokdoc'
amine@23 220
amine@23 221 # -- Options for LaTeX output ---------------------------------------------
amine@23 222
amine@23 223 latex_elements = {
amine@23 224 # The paper size ('letterpaper' or 'a4paper').
amine@23 225 #'papersize': 'letterpaper',
amine@23 226
amine@23 227 # The font size ('10pt', '11pt' or '12pt').
amine@23 228 #'pointsize': '10pt',
amine@23 229
amine@23 230 # Additional stuff for the LaTeX preamble.
amine@23 231 #'preamble': '',
amine@23 232
amine@23 233 # Latex figure (float) alignment
amine@23 234 #'figure_align': 'htbp',
amine@23 235 }
amine@23 236
amine@23 237 # Grouping the document tree into LaTeX files. List of tuples
amine@23 238 # (source start file, target name, title,
amine@23 239 # author, documentclass [howto, manual, or own class]).
amine@23 240 latex_documents = [
amine@23 241 (master_doc, 'auditok.tex', u'auditok Documentation',
amine@23 242 u'Amine Sehili', 'manual'),
amine@23 243 ]
amine@23 244
amine@23 245 # The name of an image file (relative to this directory) to place at the top of
amine@23 246 # the title page.
amine@23 247 #latex_logo = None
amine@23 248
amine@23 249 # For "manual" documents, if this is true, then toplevel headings are parts,
amine@23 250 # not chapters.
amine@23 251 #latex_use_parts = False
amine@23 252
amine@23 253 # If true, show page references after internal links.
amine@23 254 #latex_show_pagerefs = False
amine@23 255
amine@23 256 # If true, show URL addresses after external links.
amine@23 257 #latex_show_urls = False
amine@23 258
amine@23 259 # Documents to append as an appendix to all manuals.
amine@23 260 #latex_appendices = []
amine@23 261
amine@23 262 # If false, no module index is generated.
amine@23 263 #latex_domain_indices = True
amine@23 264
amine@23 265
amine@23 266 # -- Options for manual page output ---------------------------------------
amine@23 267
amine@23 268 # One entry per manual page. List of tuples
amine@23 269 # (source start file, name, description, authors, manual section).
amine@23 270 man_pages = [
amine@23 271 (master_doc, 'auditok', u'auditok Documentation',
amine@23 272 [author], 1)
amine@23 273 ]
amine@23 274
amine@23 275 # If true, show URL addresses after external links.
amine@23 276 #man_show_urls = False
amine@23 277
amine@23 278
amine@23 279 # -- Options for Texinfo output -------------------------------------------
amine@23 280
amine@23 281 # Grouping the document tree into Texinfo files. List of tuples
amine@23 282 # (source start file, target name, title, author,
amine@23 283 # dir menu entry, description, category)
amine@23 284 texinfo_documents = [
amine@23 285 (master_doc, 'auditok', u'auditok Documentation',
amine@23 286 author, 'auditok', 'One line description of project.',
amine@23 287 'Miscellaneous'),
amine@23 288 ]
amine@23 289
amine@23 290 # Documents to append as an appendix to all manuals.
amine@23 291 #texinfo_appendices = []
amine@23 292
amine@23 293 # If false, no module index is generated.
amine@23 294 #texinfo_domain_indices = True
amine@23 295
amine@23 296 # How to display URL addresses: 'footnote', 'no', or 'inline'.
amine@23 297 #texinfo_show_urls = 'footnote'
amine@23 298
amine@23 299 # If true, do not generate a @detailmenu in the "Top" node's menu.
amine@23 300 #texinfo_no_detailmenu = False