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