Diff of /docs/conf.py [000000] .. [2c420a]

Switch to unified view

a b/docs/conf.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
#
4
# SingleCellMultiOmics documentation build configuration file, created by
5
# sphinx-quickstart on Tue Jul 16 11:59:02 2019.
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
import glob
23
#sys.path.insert(0, os.path.abspath('../singlecellmultiomics/'))
24
sys.path.insert(0, os.path.abspath('../singlecellmultiomics'))
25
import sphinx_rtd_theme
26
27
# -- General configuration ------------------------------------------------
28
29
# If your documentation needs a minimal Sphinx version, state it here.
30
#
31
# needs_sphinx = '1.0'
32
33
# Add any Sphinx extension module names here, as strings. They can be
34
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
35
# ones.
36
extensions = [
37
    "sphinx_rtd_theme",
38
    'sphinx.ext.autosummary',
39
    'sphinx.ext.autodoc',
40
    'sphinx.ext.coverage',
41
    #'sphinx.ext.mathjax',
42
    'sphinx.ext.viewcode',
43
    'sphinx.ext.githubpages','sphinx.ext.napoleon']
44
45
# Napoleon settings
46
napoleon_google_docstring = True
47
napoleon_numpy_docstring = True
48
napoleon_include_init_with_doc = False
49
napoleon_include_private_with_doc = False
50
napoleon_include_special_with_doc = True
51
napoleon_use_admonition_for_examples = False
52
napoleon_use_admonition_for_notes = False
53
napoleon_use_admonition_for_references = False
54
napoleon_use_ivar = False
55
napoleon_use_param = True
56
napoleon_use_rtype = True
57
add_module_names = True
58
59
# Add any paths that contain templates here, relative to this directory.
60
templates_path = ['_templates']
61
62
# The suffix(es) of source filenames.
63
# You can specify multiple suffix as a list of string:
64
#
65
# source_suffix = ['.rst', '.md']
66
source_suffix = '.rst'
67
68
# The master toctree document.
69
master_doc = 'index'
70
71
# General information about the project.
72
project = 'SingleCellMultiOmics'
73
copyright = '2019, Buys de Barbanson, Jake Yeung'
74
author = 'Buys de Barbanson, Jake Yeung'
75
76
# The version info for the project you're documenting, acts as replacement for
77
# |version| and |release|, also used in various other places throughout the
78
# built documents.
79
#
80
# The short X.Y version.
81
version = '0.0.2'
82
# The full version, including alpha/beta/rc tags.
83
release = '0.0.2'
84
85
# The language for content autogenerated by Sphinx. Refer to documentation
86
# for a list of supported languages.
87
#
88
# This is also used if you do content translation via gettext catalogs.
89
# Usually you set "language" from the command line for these cases.
90
language = None
91
92
# List of patterns, relative to source directory, that match files and
93
# directories to ignore when looking for source files.
94
# This patterns also effect to html_static_path and html_extra_path
95
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
96
97
# The name of the Pygments (syntax highlighting) style to use.
98
pygments_style = 'sphinx'
99
100
# If true, `todo` and `todoList` produce output, else they produce nothing.
101
todo_include_todos = False
102
103
104
# -- Options for HTML output ----------------------------------------------
105
106
# The theme to use for HTML and HTML Help pages.  See the documentation for
107
# a list of builtin themes.
108
#
109
html_theme = 'sphinx_rtd_theme'
110
111
# Theme options are theme-specific and customize the look and feel of a theme
112
# further.  For a list of options available for each theme, see the
113
# documentation.
114
#
115
# html_theme_options = {}
116
117
# Add any paths that contain custom static files (such as style sheets) here,
118
# relative to this directory. They are copied after the builtin static files,
119
# so a file named "default.css" will overwrite the builtin "default.css".
120
html_static_path = ['_static']
121
122
123
# -- Options for HTMLHelp output ------------------------------------------
124
125
# Output file base name for HTML help builder.
126
htmlhelp_basename = 'SingleCellMultiOmicsdoc'
127
128
129
# -- Options for LaTeX output ---------------------------------------------
130
131
latex_elements = {
132
    # The paper size ('letterpaper' or 'a4paper').
133
    #
134
    # 'papersize': 'letterpaper',
135
136
    # The font size ('10pt', '11pt' or '12pt').
137
    #
138
    # 'pointsize': '10pt',
139
140
    # Additional stuff for the LaTeX preamble.
141
    #
142
    # 'preamble': '',
143
144
    # Latex figure (float) alignment
145
    #
146
    # 'figure_align': 'htbp',
147
}
148
149
# Grouping the document tree into LaTeX files. List of tuples
150
# (source start file, target name, title,
151
#  author, documentclass [howto, manual, or own class]).
152
latex_documents = [
153
    (master_doc, 'SingleCellMultiOmics.tex', 'SingleCellMultiOmics Documentation',
154
     'Buys de Barbanson, Jake Yeung', 'manual'),
155
]
156
157
158
# -- Options for manual page output ---------------------------------------
159
160
# One entry per manual page. List of tuples
161
# (source start file, name, description, authors, manual section).
162
man_pages = [
163
    (master_doc, 'singlecellmultiomics', 'SingleCellMultiOmics Documentation',
164
     [author], 1)
165
]
166
167
168
# -- Options for Texinfo output -------------------------------------------
169
170
# Grouping the document tree into Texinfo files. List of tuples
171
# (source start file, target name, title, author,
172
#  dir menu entry, description, category)
173
texinfo_documents = [
174
    (master_doc, 'SingleCellMultiOmics', 'SingleCellMultiOmics Documentation',
175
     author, 'SingleCellMultiOmics', 'One line description of project.',
176
     'Miscellaneous'),
177
]