|
1 |
| -# tikzplotlib documentation build configuration file, created by |
2 |
| -# sphinx-quickstart on Mon May 10 14:00:31 2010. |
| 1 | +# Configuration file for the Sphinx documentation builder. |
3 | 2 | #
|
4 |
| -# This file is execfile()d with the current directory set to its containing |
5 |
| -# dir. |
6 |
| -# |
7 |
| -# Note that not all possible configuration values are present in this |
8 |
| -# autogenerated file. |
9 |
| -# |
10 |
| -# All configuration values have a default; values that are commented out |
11 |
| -# serve to show the default. |
12 |
| - |
13 |
| -import os |
14 |
| -import sys |
15 |
| - |
16 |
| -import mock |
| 3 | +# This file only contains a selection of the most common options. For a full |
| 4 | +# list see the documentation: |
| 5 | +# http://www.sphinx-doc.org/en/master/config |
17 | 6 |
|
18 |
| -MOCK_MODULES = ["matplotlib"] |
19 |
| -for mod_name in MOCK_MODULES: |
20 |
| - sys.modules[mod_name] = mock.Mock() |
| 7 | +# -- Path setup -------------------------------------------------------------- |
21 | 8 |
|
22 | 9 | # If extensions (or modules to document with autodoc) are in another directory,
|
23 | 10 | # add these directories to sys.path here. If the directory is relative to the
|
24 | 11 | # documentation root, use os.path.abspath to make it absolute, like shown here.
|
25 |
| -sys.path.append(os.path.abspath("../src")) |
26 |
| - |
27 |
| -# -- General configuration ---------------------------------------------------- |
28 |
| - |
29 |
| -# Add any Sphinx extension module names here, as strings. They can be |
30 |
| -# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
31 |
| -extensions = [ |
32 |
| - "sphinx.ext.autodoc", |
33 |
| - "sphinx.ext.doctest", |
34 |
| - "sphinx.ext.todo", |
35 |
| - "sphinx.ext.coverage", |
36 |
| - "sphinx.ext.imgmath", |
37 |
| -] |
38 |
| - |
39 |
| -# Add any paths that contain templates here, relative to this directory. |
40 |
| -templates_path = ["_templates"] |
| 12 | +# |
| 13 | +import os |
41 | 14 |
|
42 |
| -# The suffix of source filenames. |
43 |
| -source_suffix = ".rst" |
| 15 | +# import sys |
| 16 | +# sys.path.insert(0, os.path.abspath('.')) |
44 | 17 |
|
45 |
| -# The encoding of source files. |
46 |
| -# source_encoding = 'utf-8' |
47 | 18 |
|
48 |
| -# The master toctree document. |
49 |
| -master_doc = "index" |
| 19 | +# -- Project information ----------------------------------------------------- |
50 | 20 |
|
51 |
| -# General information about the project. |
52 |
| -project = u"tikzplotlib" |
53 |
| -copyright = u"2010-2019, Nico Schlömer" |
| 21 | +project = "tikzplotlib" |
| 22 | +copyright = "2010-2019, Nico Schlömer" |
| 23 | +author = "Nico Schlömer" |
54 | 24 |
|
55 |
| -# The version info for the project you're documenting, acts as replacement for |
56 |
| -# |version| and |release|, also used in various other places throughout the |
57 |
| -# built documents. |
58 |
| -# |
59 | 25 | # https://packaging.python.org/single_source_version/
|
60 | 26 | this_dir = os.path.abspath(os.path.dirname(__file__))
|
61 | 27 | about = {}
|
62 | 28 | about_file = os.path.join(this_dir, "..", "tikzplotlib", "__about__.py")
|
63 | 29 | with open(about_file) as f:
|
64 | 30 | exec(f.read(), about)
|
65 |
| -# The short X.Y version. |
66 |
| -version = ".".join(about["__version__"].split(".")[:2]) |
67 | 31 | # The full version, including alpha/beta/rc tags.
|
68 | 32 | release = about["__version__"]
|
69 | 33 |
|
70 |
| -# The language for content autogenerated by Sphinx. Refer to documentation |
71 |
| -# for a list of supported languages. |
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 |
| -# today = '' |
77 |
| -# Else, today_fmt is used as the format for a strftime call. |
78 |
| -# today_fmt = '%B %d, %Y' |
79 |
| - |
80 |
| -# List of documents that shouldn't be included in the build. |
81 |
| -# unused_docs = [] |
82 |
| - |
83 |
| -# List of directories, relative to source directory, that shouldn't be searched |
84 |
| -# for source files. |
85 |
| -exclude_trees = ["_build"] |
86 |
| - |
87 |
| -# The reST default role (used for this markup: `text`) to use for all |
88 |
| -# documents. |
89 |
| -# default_role = None |
90 | 34 |
|
91 |
| -# If true, '()' will be appended to :func: etc. cross-reference text. |
92 |
| -# add_function_parentheses = True |
| 35 | +# -- General configuration --------------------------------------------------- |
93 | 36 |
|
94 |
| -# If true, the current module name will be prepended to all description |
95 |
| -# unit titles (such as .. function::). |
96 |
| -# add_module_names = True |
97 |
| - |
98 |
| -# If true, sectionauthor and moduleauthor directives will be shown in the |
99 |
| -# output. They are ignored by default. |
100 |
| -# show_authors = False |
101 |
| - |
102 |
| -# The name of the Pygments (syntax highlighting) style to use. |
103 |
| -pygments_style = "sphinx" |
104 |
| - |
105 |
| -# A list of ignored prefixes for module index sorting. |
106 |
| -# modindex_common_prefix = [] |
107 |
| - |
108 |
| - |
109 |
| -# -- Options for HTML output -------------------------------------------------- |
110 |
| - |
111 |
| -# The theme to use for HTML and HTML Help pages. Major themes that come with |
112 |
| -# Sphinx are currently 'default' and 'sphinxdoc'. |
113 |
| -html_theme = "default" |
114 |
| - |
115 |
| -# Theme options are theme-specific and customize the look and feel of a theme |
116 |
| -# further. For a list of options available for each theme, see the |
117 |
| -# documentation. |
118 |
| -# html_theme_options = {} |
| 37 | +# Add any Sphinx extension module names here, as strings. They can be |
| 38 | +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
| 39 | +# ones. |
| 40 | +extensions = [ |
| 41 | + "sphinx.ext.autodoc", |
| 42 | + "sphinx.ext.doctest", |
| 43 | + "sphinx.ext.todo", |
| 44 | + "sphinx.ext.coverage", |
| 45 | + "sphinx.ext.imgmath", |
| 46 | +] |
119 | 47 |
|
120 |
| -# Add any paths that contain custom themes here, relative to this directory. |
121 |
| -# html_theme_path = [] |
| 48 | +# Add any paths that contain templates here, relative to this directory. |
| 49 | +templates_path = ["_templates"] |
122 | 50 |
|
123 |
| -# The name for this set of Sphinx documents. If None, it defaults to |
124 |
| -# "<project> v<release> documentation". |
125 |
| -# html_title = None |
| 51 | +# List of patterns, relative to source directory, that match files and |
| 52 | +# directories to ignore when looking for source files. |
| 53 | +# This pattern also affects html_static_path and html_extra_path. |
| 54 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
126 | 55 |
|
127 |
| -# A shorter title for the navigation bar. Default is the same as html_title. |
128 |
| -# html_short_title = None |
129 | 56 |
|
130 |
| -# The name of an image file (relative to this directory) to place at the top |
131 |
| -# of the sidebar. |
132 |
| -# html_logo = None |
| 57 | +# -- Options for HTML output ------------------------------------------------- |
133 | 58 |
|
134 |
| -# The name of an image file (within the static path) to use as favicon of the |
135 |
| -# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
136 |
| -# pixels large. |
137 |
| -# html_favicon = None |
| 59 | +# The theme to use for HTML and HTML Help pages. See the documentation for |
| 60 | +# a list of builtin themes. |
| 61 | +# |
| 62 | +html_theme = "alabaster" |
138 | 63 |
|
139 | 64 | # Add any paths that contain custom static files (such as style sheets) here,
|
140 | 65 | # relative to this directory. They are copied after the builtin static files,
|
141 | 66 | # so a file named "default.css" will overwrite the builtin "default.css".
|
142 | 67 | html_static_path = ["_static"]
|
143 |
| - |
144 |
| -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
145 |
| -# using the given strftime format. |
146 |
| -# html_last_updated_fmt = '%b %d, %Y' |
147 |
| - |
148 |
| -# If true, SmartyPants will be used to convert quotes and dashes to |
149 |
| -# typographically correct entities. |
150 |
| -# html_use_smartypants = True |
151 |
| - |
152 |
| -# Custom sidebar templates, maps document names to template names. |
153 |
| -# html_sidebars = {} |
154 |
| - |
155 |
| -# Additional templates that should be rendered to pages, maps page names to |
156 |
| -# template names. |
157 |
| -# html_additional_pages = {} |
158 |
| - |
159 |
| -# If false, no module index is generated. |
160 |
| -# html_use_modindex = True |
161 |
| - |
162 |
| -# If false, no index is generated. |
163 |
| -# html_use_index = True |
164 |
| - |
165 |
| -# If true, the index is split into individual pages for each letter. |
166 |
| -# html_split_index = False |
167 |
| - |
168 |
| -# If true, links to the reST sources are added to the pages. |
169 |
| -# html_show_sourcelink = True |
170 |
| - |
171 |
| -# If true, an OpenSearch description file will be output, and all pages will |
172 |
| -# contain a <link> tag referring to it. The value of this option must be the |
173 |
| -# base URL from which the finished HTML is served. |
174 |
| -# html_use_opensearch = '' |
175 |
| - |
176 |
| -# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). |
177 |
| -# html_file_suffix = '' |
178 |
| - |
179 |
| -# Output file base name for HTML help builder. |
180 |
| -htmlhelp_basename = "tikzplotlibdoc" |
181 |
| - |
182 |
| - |
183 |
| -# -- Options for LaTeX output ------------------------------------------------- |
184 |
| - |
185 |
| -# The paper size ('letter' or 'a4'). |
186 |
| -latex_paper_size = "a4" |
187 |
| - |
188 |
| -# The font size ('10pt', '11pt' or '12pt'). |
189 |
| -# latex_font_size = '10pt' |
190 |
| - |
191 |
| -# Grouping the document tree into LaTeX files. List of tuples (source start |
192 |
| -# file, target name, title, author, documentclass [howto/manual]). |
193 |
| -latex_documents = [ |
194 |
| - ( |
195 |
| - "index", |
196 |
| - "tikzplotlib.tex", |
197 |
| - u"tikzplotlib Documentation", |
198 |
| - u"Nico Schlömer", |
199 |
| - "manual", |
200 |
| - ) |
201 |
| -] |
202 |
| - |
203 |
| -# The name of an image file (relative to this directory) to place at the top of |
204 |
| -# the title page. |
205 |
| -# latex_logo = None |
206 |
| - |
207 |
| -# For "manual" documents, if this is true, then toplevel headings are parts, |
208 |
| -# not chapters. |
209 |
| -# latex_use_parts = False |
210 |
| - |
211 |
| -# Additional stuff for the LaTeX preamble. |
212 |
| -# latex_preamble = '' |
213 |
| - |
214 |
| -# Documents to append as an appendix to all manuals. |
215 |
| -# latex_appendices = [] |
216 |
| - |
217 |
| -# If false, no module index is generated. |
218 |
| -# latex_use_modindex = True |
0 commit comments