docs/conf.py

Fri, 15 Oct 2021 12:16:06 +0000

author
convert-repo
date
Fri, 15 Oct 2021 12:16:06 +0000
changeset 213
ed1fdae1dce7
parent 168
9fed2446a59f
permissions
-rw-r--r--

update tags

i@95 1 # -*- coding: utf-8 -*-
i@95 2 #
i@95 3 # Atmospheric lidar documentation build configuration file, created by
i@95 4 # sphinx-quickstart on Thu Dec 7 15:45:39 2017.
i@95 5 #
i@95 6 # This file is execfile()d with the current directory set to its
i@95 7 # containing dir.
i@95 8 #
i@95 9 # Note that not all possible configuration values are present in this
i@95 10 # autogenerated file.
i@95 11 #
i@95 12 # All configuration values have a default; values that are commented out
i@95 13 # serve to show the default.
i@95 14
i@95 15 # If extensions (or modules to document with autodoc) are in another directory,
i@95 16 # add these directories to sys.path here. If the directory is relative to the
i@95 17 # documentation root, use os.path.abspath to make it absolute, like shown here.
i@95 18 #
i@95 19 import os
i@95 20 import sys
i@95 21 sys.path.insert(0, os.path.abspath('../'))
i@95 22
i@95 23
i@98 24 # Mock modules for read the docs
i@98 25 on_rtd = os.environ.get('READTHEDOCS') == 'True'
i@98 26
i@98 27 if on_rtd:
i@98 28 from mock import Mock as MagicMock
i@98 29
i@98 30 class Mock(MagicMock):
i@98 31 @classmethod
i@98 32 def __getattr__(cls, name):
i@98 33 return MagicMock()
i@98 34
i@100 35 MOCK_MODULES = ['netCDF4', 'numpy', 'scipy', 'matplotlib', 'matplotlib.ticker']
i@98 36 sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
i@98 37
i@132 38 # NumpyDoc options, to work with autosummary
i@132 39 numpydoc_show_class_members = False
i@132 40 # class_members_toctree = False
i@132 41
i@132 42 # -- General `onfiguration ------------------------------------------------
i@95 43
i@95 44 # If your documentation needs a minimal Sphinx version, state it here.
i@95 45 #
i@95 46 # needs_sphinx = '1.0'
i@95 47
i@95 48 # Add any Sphinx extension module names here, as strings. They can be
i@95 49 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
i@95 50 # ones.
i@95 51 extensions = ['sphinx.ext.autodoc',
i@132 52 'sphinx.ext.autosummary',
i@132 53 'sphinx.ext.intersphinx',
i@132 54 'sphinx.ext.todo',
i@132 55 'sphinx.ext.mathjax',
i@132 56 'sphinx.ext.viewcode',
i@132 57 'numpydoc',
i@132 58 ]
i@95 59
i@95 60 # Add any paths that contain templates here, relative to this directory.
i@95 61 templates_path = ['_templates']
i@95 62
i@95 63 # The suffix(es) of source filenames.
i@95 64 # You can specify multiple suffix as a list of string:
i@95 65 #
i@95 66 # source_suffix = ['.rst', '.md']
i@95 67 source_suffix = '.rst'
i@95 68
i@95 69 # The master toctree document.
i@95 70 master_doc = 'index'
i@95 71
i@95 72 # General information about the project.
ioannis@168 73 project = 'Atmospheric lidar'
ioannis@168 74 copyright = '2017, Ioannis Binietoglou, Victor Nicolae'
ioannis@168 75 author = 'Ioannis Binietoglou, Victor Nicolae'
i@95 76
i@95 77 # The version info for the project you're documenting, acts as replacement for
i@95 78 # |version| and |release|, also used in various other places throughout the
i@95 79 # built documents.
i@95 80 #
i@95 81 # The short X.Y version.
ioannis@168 82 version = '0.2.11'
i@95 83 # The full version, including alpha/beta/rc tags.
ioannis@168 84 release = '0.2.11'
i@95 85
i@95 86 # The language for content autogenerated by Sphinx. Refer to documentation
i@95 87 # for a list of supported languages.
i@95 88 #
i@95 89 # This is also used if you do content translation via gettext catalogs.
i@95 90 # Usually you set "language" from the command line for these cases.
i@95 91 language = None
i@95 92
i@95 93 # List of patterns, relative to source directory, that match files and
i@95 94 # directories to ignore when looking for source files.
i@95 95 # This patterns also effect to html_static_path and html_extra_path
i@95 96 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
i@95 97
i@95 98 # The name of the Pygments (syntax highlighting) style to use.
i@95 99 pygments_style = 'sphinx'
i@95 100
i@95 101 # If true, `todo` and `todoList` produce output, else they produce nothing.
i@95 102 todo_include_todos = True
i@95 103
i@95 104
i@95 105 # -- Options for HTML output ----------------------------------------------
i@95 106
i@95 107 # The theme to use for HTML and HTML Help pages. See the documentation for
i@95 108 # a list of builtin themes.
i@95 109 #
i@95 110 html_theme = 'alabaster'
i@95 111
i@95 112 # Theme options are theme-specific and customize the look and feel of a theme
i@95 113 # further. For a list of options available for each theme, see the
i@95 114 # documentation.
i@95 115 #
i@95 116 # html_theme_options = {}
i@95 117
i@95 118 # Add any paths that contain custom static files (such as style sheets) here,
i@95 119 # relative to this directory. They are copied after the builtin static files,
i@95 120 # so a file named "default.css" will overwrite the builtin "default.css".
i@95 121 html_static_path = ['_static']
i@95 122
i@95 123 # Custom sidebar templates, must be a dictionary that maps document names
i@95 124 # to template names.
i@95 125 #
i@95 126 # This is required for the alabaster theme
i@95 127 # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
i@95 128 html_sidebars = {
i@95 129 '**': [
i@95 130 'relations.html', # needs 'show_related': True theme option to display
i@95 131 'searchbox.html',
i@95 132 ]
i@95 133 }
i@95 134
i@95 135
i@95 136 # -- Options for HTMLHelp output ------------------------------------------
i@95 137
i@95 138 # Output file base name for HTML help builder.
i@95 139 htmlhelp_basename = 'Atmosphericlidardoc'
i@95 140
i@95 141
i@95 142 # -- Options for LaTeX output ---------------------------------------------
i@95 143
i@95 144 latex_elements = {
ulalume3@110 145 'classoptions': ',openany,oneside',
i@95 146 # The paper size ('letterpaper' or 'a4paper').
i@95 147 #
i@95 148 # 'papersize': 'letterpaper',
i@95 149
i@95 150 # The font size ('10pt', '11pt' or '12pt').
i@95 151 #
i@95 152 # 'pointsize': '10pt',
i@95 153
i@95 154 # Additional stuff for the LaTeX preamble.
i@95 155 #
i@95 156 # 'preamble': '',
i@95 157
i@95 158 # Latex figure (float) alignment
i@95 159 #
i@95 160 # 'figure_align': 'htbp',
i@95 161 }
i@95 162
i@95 163 # Grouping the document tree into LaTeX files. List of tuples
i@95 164 # (source start file, target name, title,
i@95 165 # author, documentclass [howto, manual, or own class]).
i@95 166 latex_documents = [
ioannis@168 167 (master_doc, 'Atmosphericlidar.tex', 'Atmospheric lidar Documentation',
ioannis@168 168 'Ioannis Binietoglou, Victor Nicolae', 'manual'),
i@95 169 ]
i@95 170
i@95 171
i@95 172 # -- Options for manual page output ---------------------------------------
i@95 173
i@95 174 # One entry per manual page. List of tuples
i@95 175 # (source start file, name, description, authors, manual section).
i@95 176 man_pages = [
ioannis@168 177 (master_doc, 'atmosphericlidar', 'Atmospheric lidar Documentation',
i@95 178 [author], 1)
i@95 179 ]
i@95 180
i@95 181
i@95 182 # -- Options for Texinfo output -------------------------------------------
i@95 183
i@95 184 # Grouping the document tree into Texinfo files. List of tuples
i@95 185 # (source start file, target name, title, author,
i@95 186 # dir menu entry, description, category)
i@95 187 texinfo_documents = [
ioannis@168 188 (master_doc, 'Atmosphericlidar', 'Atmospheric lidar Documentation',
i@95 189 author, 'Atmosphericlidar', 'One line description of project.',
i@95 190 'Miscellaneous'),
i@95 191 ]
i@95 192
i@95 193
i@95 194
i@95 195 # -- Options for Epub output ----------------------------------------------
i@95 196
i@95 197 # Bibliographic Dublin Core info.
i@95 198 epub_title = project
i@95 199 epub_author = author
i@95 200 epub_publisher = author
i@95 201 epub_copyright = copyright
i@95 202
i@95 203 # The unique identifier of the text. This can be a ISBN number
i@95 204 # or the project homepage.
i@95 205 #
i@95 206 # epub_identifier = ''
i@95 207
i@95 208 # A unique identification for the text.
i@95 209 #
i@95 210 # epub_uid = ''
i@95 211
i@95 212 # A list of files that should not be packed into the epub file.
i@95 213 epub_exclude_files = ['search.html']
i@95 214
i@95 215
i@95 216
i@95 217 # Example configuration for intersphinx: refer to the Python standard library.
i@95 218 intersphinx_mapping = {'https://docs.python.org/': None}

mercurial