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