|
12 | 12 | # Add any Sphinx extension module names here, as strings. They can be extensions
|
13 | 13 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
14 | 14 | extensions = [
|
15 |
| - 'sphinx.ext.doctest', |
16 |
| - 'sphinx.ext.intersphinx', |
17 |
| - 'pytestdocs', |
| 15 | + "sphinx.ext.doctest", |
| 16 | + "sphinx.ext.intersphinx", |
| 17 | + "pytestdocs", |
18 | 18 | ]
|
19 | 19 |
|
20 | 20 | # Add any paths that contain templates here, relative to this directory.
|
21 |
| -templates_path = ['_templates'] |
| 21 | +templates_path = ["_templates"] |
22 | 22 |
|
23 | 23 | # The suffix of source filenames.
|
24 |
| -source_suffix = '.rst' |
| 24 | +source_suffix = ".rst" |
25 | 25 |
|
26 | 26 | # The master toctree document.
|
27 |
| -master_doc = 'index' |
| 27 | +master_doc = "index" |
28 | 28 |
|
29 | 29 | # General information about the project.
|
30 |
| -project = 'pytest-django' |
31 |
| -copyright = f'{datetime.datetime.now(tz=datetime.timezone.utc).year}, Andreas Pelme and contributors' |
| 30 | +project = "pytest-django" |
| 31 | +copyright = ( |
| 32 | + f"{datetime.datetime.now(tz=datetime.timezone.utc).year}, Andreas Pelme and contributors" |
| 33 | +) |
32 | 34 |
|
33 |
| -exclude_patterns = ['_build'] |
| 35 | +exclude_patterns = ["_build"] |
34 | 36 |
|
35 |
| -pygments_style = 'sphinx' |
| 37 | +pygments_style = "sphinx" |
36 | 38 |
|
37 |
| -html_theme = 'sphinx_rtd_theme' |
| 39 | +html_theme = "sphinx_rtd_theme" |
38 | 40 |
|
39 | 41 | # Output file base name for HTML help builder.
|
40 |
| -htmlhelp_basename = 'pytest-djangodoc' |
| 42 | +htmlhelp_basename = "pytest-djangodoc" |
41 | 43 |
|
42 | 44 | intersphinx_mapping = {
|
43 |
| - 'python': ('https://docs.python.org/3', None), |
44 |
| - 'django': ('https://docs.djangoproject.com/en/stable/', |
45 |
| - 'https://docs.djangoproject.com/en/stable/_objects/'), |
46 |
| - 'pytest': ('https://docs.pytest.org/en/stable/', None), |
| 45 | + "python": ("https://docs.python.org/3", None), |
| 46 | + "django": ( |
| 47 | + "https://docs.djangoproject.com/en/stable/", |
| 48 | + "https://docs.djangoproject.com/en/stable/_objects/", |
| 49 | + ), |
| 50 | + "pytest": ("https://docs.pytest.org/en/stable/", None), |
47 | 51 | }
|
48 | 52 |
|
49 | 53 | # Warn about all references where the target cannot be found
|
|
0 commit comments