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