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