blob: ccd864ac744260263c553af91704b12497aaeace [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#
Jon Wayne Parrott50ee3f42016-10-11 17:21:53 -0700103add_module_names = False
Jon Wayne Parrott377f2932016-10-04 10:20:36 -0700104
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#
Jon Wayne Parrott50ee3f42016-10-11 17:21:53 -0700134html_theme_options = {
135 'description': 'Google Auth Library for Python',
136 'github_user': 'GoogleCloudPlatform',
137 'github_repo': 'google-auth-library-python',
138 'github_banner': True,
139 'travis_button': True,
140 'font_family': "'Roboto', Georgia, sans",
141 'head_font_family': "'Roboto', Georgia, serif",
142 'code_font_family': "'Roboto Mono', 'Consolas', monospace",
143}
Jon Wayne Parrott377f2932016-10-04 10:20:36 -0700144
145# Add any paths that contain custom themes here, relative to this directory.
146# html_theme_path = []
147
148# The name for this set of Sphinx documents.
149# "<project> v<release> documentation" by default.
150#
151# html_title = 'google-auth v0.0.1a'
152
153# A shorter title for the navigation bar. Default is the same as html_title.
154#
155# html_short_title = None
156
157# The name of an image file (relative to this directory) to place at the top
158# of the sidebar.
159#
160# html_logo = None
161
162# The name of an image file (relative to this directory) to use as a favicon of
163# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
164# pixels large.
165#
166# html_favicon = None
167
168# Add any paths that contain custom static files (such as style sheets) here,
169# relative to this directory. They are copied after the builtin static files,
170# so a file named "default.css" will overwrite the builtin "default.css".
171html_static_path = ['_static']
172
173# Add any extra paths that contain custom files (such as robots.txt or
174# .htaccess) here, relative to this directory. These files are copied
175# directly to the root of the documentation.
176#
177# html_extra_path = []
178
179# If not None, a 'Last updated on:' timestamp is inserted at every page
180# bottom, using the given strftime format.
181# The empty string is equivalent to '%b %d, %Y'.
182#
183# html_last_updated_fmt = None
184
185# If true, SmartyPants will be used to convert quotes and dashes to
186# typographically correct entities.
187#
188# html_use_smartypants = True
189
190# Custom sidebar templates, maps document names to template names.
191#
Jon Wayne Parrott50ee3f42016-10-11 17:21:53 -0700192
193html_sidebars = {
194 '**': [
195 'about.html',
196 'navigation.html',
197 'relations.html',
198 'searchbox.html',
199 'fonts.html'
200 ]
201}
Jon Wayne Parrott377f2932016-10-04 10:20:36 -0700202
203# Additional templates that should be rendered to pages, maps page names to
204# template names.
205#
206# html_additional_pages = {}
207
208# If false, no module index is generated.
209#
210# html_domain_indices = True
211
212# If false, no index is generated.
213#
214# html_use_index = True
215
216# If true, the index is split into individual pages for each letter.
217#
218# html_split_index = False
219
220# If true, links to the reST sources are added to the pages.
221#
222# html_show_sourcelink = True
223
224# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
225#
226# html_show_sphinx = True
227
228# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
229#
230# html_show_copyright = True
231
232# If true, an OpenSearch description file will be output, and all pages will
233# contain a <link> tag referring to it. The value of this option must be the
234# base URL from which the finished HTML is served.
235#
236# html_use_opensearch = ''
237
238# This is the file name suffix for HTML files (e.g. ".xhtml").
239# html_file_suffix = None
240
241# Language to be used for generating the HTML full-text search index.
242# Sphinx supports the following languages:
243# 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja'
244# 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr', 'zh'
245#
246# html_search_language = 'en'
247
248# A dictionary with options for the search language support, empty by default.
249# 'ja' uses this config value.
250# 'zh' user can custom change `jieba` dictionary path.
251#
252# html_search_options = {'type': 'default'}
253
254# The name of a javascript file (relative to the configuration directory) that
255# implements a search results scorer. If empty, the default will be used.
256#
257# html_search_scorer = 'scorer.js'
258
259# Output file base name for HTML help builder.
260htmlhelp_basename = 'google-authdoc'
261
262# -- Options for LaTeX output ---------------------------------------------
263
264latex_elements = {
265 # The paper size ('letterpaper' or 'a4paper').
266 #
267 # 'papersize': 'letterpaper',
268
269 # The font size ('10pt', '11pt' or '12pt').
270 #
271 # 'pointsize': '10pt',
272
273 # Additional stuff for the LaTeX preamble.
274 #
275 # 'preamble': '',
276
277 # Latex figure (float) alignment
278 #
279 # 'figure_align': 'htbp',
280}
281
282# Grouping the document tree into LaTeX files. List of tuples
283# (source start file, target name, title,
284# author, documentclass [howto, manual, or own class]).
285latex_documents = [
286 (master_doc, 'google-auth.tex', 'google-auth Documentation',
287 'Google, Inc.', 'manual'),
288]
289
290# The name of an image file (relative to this directory) to place at the top of
291# the title page.
292#
293# latex_logo = None
294
295# For "manual" documents, if this is true, then toplevel headings are parts,
296# not chapters.
297#
298# latex_use_parts = False
299
300# If true, show page references after internal links.
301#
302# latex_show_pagerefs = False
303
304# If true, show URL addresses after external links.
305#
306# latex_show_urls = False
307
308# Documents to append as an appendix to all manuals.
309#
310# latex_appendices = []
311
312# It false, will not define \strong, \code, itleref, \crossref ... but only
313# \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added
314# packages.
315#
316# latex_keep_old_macro_names = True
317
318# If false, no module index is generated.
319#
320# latex_domain_indices = True
321
322
323# -- Options for manual page output ---------------------------------------
324
325# One entry per manual page. List of tuples
326# (source start file, name, description, authors, manual section).
327man_pages = [
328 (master_doc, 'google-auth', 'google-auth Documentation',
329 [author], 1)
330]
331
332# If true, show URL addresses after external links.
333#
334# man_show_urls = False
335
336
337# -- Options for Texinfo output -------------------------------------------
338
339# Grouping the document tree into Texinfo files. List of tuples
340# (source start file, target name, title, author,
341# dir menu entry, description, category)
342texinfo_documents = [
343 (master_doc, 'google-auth', 'google-auth Documentation',
344 author, 'google-auth', 'One line description of project.',
345 'Miscellaneous'),
346]
347
348# Documents to append as an appendix to all manuals.
349#
350# texinfo_appendices = []
351
352# If false, no module index is generated.
353#
354# texinfo_domain_indices = True
355
356# How to display URL addresses: 'footnote', 'no', or 'inline'.
357#
358# texinfo_show_urls = 'footnote'
359
360# If true, do not generate a @detailmenu in the "Top" node's menu.
361#
362# texinfo_no_detailmenu = False
363
364
365# Example configuration for intersphinx: refer to the Python standard library.
366intersphinx_mapping = {'https://docs.python.org/3.5': None}
367
368# Autodoc config
369autoclass_content = 'both'
370autodoc_member_order = 'bysource'