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