| 1 | # -*- coding: utf-8 -*- |
| 2 | # |
| 3 | # Configuration file for the Sphinx documentation builder. |
| 4 | # |
| 5 | # This file does only contain a selection of the most common options. For a |
| 6 | # full list see the documentation: |
| 7 | # http://www.sphinx-doc.org/en/master/config |
| 8 | # -- Path setup -------------------------------------------------------------- |
| 9 | # If extensions (or modules to document with autodoc) are in another directory, |
| 10 | # add these directories to sys.path here. If the directory is relative to the |
| 11 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
| 12 | # |
| 13 | # import os |
| 14 | # import sys |
| 15 | # sys.path.insert(0, os.path.abspath('.')) |
| 16 | # -- Project information ----------------------------------------------------- |
| 17 | |
| 18 | project = "pytest-regressions" |
| 19 | copyright = "2018, ESSS" |
| 20 | author = "ESSS" |
| 21 | |
| 22 | # The short X.Y version |
| 23 | version = "" |
| 24 | # The full version, including alpha/beta/rc tags |
| 25 | release = "" |
| 26 | |
| 27 | |
| 28 | # -- General configuration --------------------------------------------------- |
| 29 | |
| 30 | # If your documentation needs a minimal Sphinx version, state it here. |
| 31 | # |
| 32 | # needs_sphinx = '1.0' |
| 33 | |
| 34 | # Add any Sphinx extension module names here, as strings. They can be |
| 35 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
| 36 | # ones. |
| 37 | extensions = ["sphinx.ext.autodoc"] |
| 38 | |
| 39 | # Add any paths that contain templates here, relative to this directory. |
| 40 | # templates_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'] |
| 46 | source_suffix = ".rst" |
| 47 | |
| 48 | # The master toctree document. |
| 49 | master_doc = "index" |
| 50 | |
| 51 | # The language for content autogenerated by Sphinx. Refer to documentation |
| 52 | # for a list of supported languages. |
| 53 | # |
| 54 | # This is also used if you do content translation via gettext catalogs. |
| 55 | # Usually you set "language" from the command line for these cases. |
| 56 | language = "en" |
| 57 | |
| 58 | # List of patterns, relative to source directory, that match files and |
| 59 | # directories to ignore when looking for source files. |
| 60 | # This pattern also affects html_static_path and html_extra_path . |
| 61 | exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
| 62 | |
| 63 | # The name of the Pygments (syntax highlighting) style to use. |
| 64 | pygments_style = "sphinx" |
| 65 | |
| 66 | |
| 67 | # -- Options for HTML output ------------------------------------------------- |
| 68 | |
| 69 | # The theme to use for HTML and HTML Help pages. See the documentation for |
| 70 | # a list of builtin themes. |
| 71 | # |
| 72 | html_theme = "sphinx_rtd_theme" |
| 73 | |
| 74 | # Theme options are theme-specific and customize the look and feel of a theme |
| 75 | # further. For a list of options available for each theme, see the |
| 76 | # documentation. |
| 77 | # |
| 78 | # html_theme_options = {} |
| 79 | |
| 80 | # Add any paths that contain custom static files (such as style sheets) here, |
| 81 | # relative to this directory. They are copied after the builtin static files, |
| 82 | # so a file named "default.css" will overwrite the builtin "default.css". |
| 83 | # html_static_path = ["_static"] |
| 84 | |
| 85 | # Custom sidebar templates, must be a dictionary that maps document names |
| 86 | # to template names. |
| 87 | # |
| 88 | # The default sidebars (for documents that don't match any pattern) are |
| 89 | # defined by theme itself. Builtin themes are using these templates by |
| 90 | # default: ``['localtoc.html', 'relations.html', 'sourcelink.html', |
| 91 | # 'searchbox.html']``. |
| 92 | # |
| 93 | # html_sidebars = {} |
| 94 | |
| 95 | |
| 96 | # -- Options for HTMLHelp output --------------------------------------------- |
| 97 | |
| 98 | # Output file base name for HTML help builder. |
| 99 | htmlhelp_basename = "pytest-regressionsdoc" |
| 100 | |
| 101 | |
| 102 | # -- Options for LaTeX output ------------------------------------------------ |
| 103 | |
| 104 | latex_elements = { |
| 105 | # The paper size ('letterpaper' or 'a4paper'). |
| 106 | # |
| 107 | # 'papersize': 'letterpaper', |
| 108 | # The font size ('10pt', '11pt' or '12pt'). |
| 109 | # |
| 110 | # 'pointsize': '10pt', |
| 111 | # Additional stuff for the LaTeX preamble. |
| 112 | # |
| 113 | # 'preamble': '', |
| 114 | # Latex figure (float) alignment |
| 115 | # |
| 116 | # 'figure_align': 'htbp', |
| 117 | } |
| 118 | |
| 119 | # Grouping the document tree into LaTeX files. List of tuples |
| 120 | # (source start file, target name, title, |
| 121 | # author, documentclass [howto, manual, or own class]). |
| 122 | latex_documents = [ |
| 123 | ( |
| 124 | master_doc, |
| 125 | "pytest-regressions.tex", |
| 126 | "pytest-regressions Documentation", |
| 127 | "ESSS", |
| 128 | "manual", |
| 129 | ) |
| 130 | ] |
| 131 | |
| 132 | |
| 133 | # -- Options for manual page output ------------------------------------------ |
| 134 | |
| 135 | # One entry per manual page. List of tuples |
| 136 | # (source start file, name, description, authors, manual section). |
| 137 | man_pages = [ |
| 138 | (master_doc, "pytest-regressions", "pytest-regressions Documentation", [author], 1) |
| 139 | ] |
| 140 | |
| 141 | |
| 142 | # -- Options for Texinfo output ---------------------------------------------- |
| 143 | |
| 144 | # Grouping the document tree into Texinfo files. List of tuples |
| 145 | # (source start file, target name, title, author, |
| 146 | # dir menu entry, description, category) |
| 147 | texinfo_documents = [ |
| 148 | ( |
| 149 | master_doc, |
| 150 | "pytest-regressions", |
| 151 | "pytest-regressions Documentation", |
| 152 | author, |
| 153 | "pytest-regressions", |
| 154 | "One line description of project.", |
| 155 | "Miscellaneous", |
| 156 | ) |
| 157 | ] |
| 158 | |
| 159 | |
| 160 | # -- Extension configuration ------------------------------------------------- |