|
3 | 3 |
|
4 | 4 |
|
5 | 5 | extensions = [ |
6 | | - 'sphinx.ext.autodoc', |
7 | | - 'sphinx.ext.doctest', |
8 | | - 'sphinx.ext.intersphinx', |
9 | | - 'sphinx.ext.coverage', |
10 | | - 'sphinx.ext.viewcode', |
| 6 | + "sphinx.ext.autodoc", |
| 7 | + "sphinx.ext.doctest", |
| 8 | + "sphinx.ext.intersphinx", |
| 9 | + "sphinx.ext.coverage", |
| 10 | + "sphinx.ext.viewcode", |
11 | 11 | ] |
12 | 12 |
|
13 | 13 | # Add any paths that contain templates here, relative to this directory. |
14 | | -templates_path = ['_templates'] |
| 14 | +templates_path = ["_templates"] |
15 | 15 |
|
16 | | -source_suffix = '.rst' |
| 16 | +source_suffix = ".rst" |
17 | 17 |
|
18 | 18 | # The master toctree document. |
19 | | -master_doc = 'index' |
| 19 | +master_doc = "index" |
20 | 20 |
|
21 | 21 | # General information about the project. |
22 | 22 |
|
23 | | -dist = pkg_resources.get_distribution('pluggy') |
| 23 | +dist = pkg_resources.get_distribution("pluggy") |
24 | 24 | project = dist.project_name |
25 | | -copyright = u'2016, Holger Krekel' |
26 | | -author = 'Holger Krekel' |
| 25 | +copyright = u"2016, Holger Krekel" |
| 26 | +author = "Holger Krekel" |
27 | 27 |
|
28 | 28 | release = dist.version |
29 | 29 | # The short X.Y version. |
30 | | -version = u'.'.join(dist.version.split('.')[:2]) |
| 30 | +version = u".".join(dist.version.split(".")[:2]) |
31 | 31 |
|
32 | 32 |
|
33 | 33 | language = None |
34 | 34 |
|
35 | | -pygments_style = 'sphinx' |
36 | | -html_logo = '_static/img/plug.png' |
37 | | -html_theme = 'alabaster' |
| 35 | +pygments_style = "sphinx" |
| 36 | +html_logo = "_static/img/plug.png" |
| 37 | +html_theme = "alabaster" |
38 | 38 | html_theme_options = { |
39 | 39 | # 'logo': 'img/plug.png', |
40 | 40 | # 'logo_name': 'true', |
41 | | - 'description': 'The `pytest` plugin system', |
42 | | - 'github_user': 'pytest-dev', |
43 | | - 'github_repo': 'pluggy', |
44 | | - 'github_button': 'true', |
45 | | - 'github_banner': 'true', |
46 | | - 'page_width': '1080px', |
47 | | - 'fixed_sidebar': 'false', |
| 41 | + "description": "The `pytest` plugin system", |
| 42 | + "github_user": "pytest-dev", |
| 43 | + "github_repo": "pluggy", |
| 44 | + "github_button": "true", |
| 45 | + "github_banner": "true", |
| 46 | + "page_width": "1080px", |
| 47 | + "fixed_sidebar": "false", |
48 | 48 | } |
49 | | -html_static_path = ['_static'] |
| 49 | +html_static_path = ["_static"] |
50 | 50 |
|
51 | 51 | # One entry per manual page. List of tuples |
52 | 52 | # (source start file, name, description, authors, manual section). |
53 | | -man_pages = [ |
54 | | - (master_doc, 'pluggy', u'pluggy Documentation', |
55 | | - [author], 1) |
56 | | -] |
| 53 | +man_pages = [(master_doc, "pluggy", u"pluggy Documentation", [author], 1)] |
57 | 54 |
|
58 | 55 |
|
59 | 56 | # -- Options for Texinfo output ------------------------------------------- |
|
62 | 59 | # (source start file, target name, title, author, |
63 | 60 | # dir menu entry, description, category) |
64 | 61 | texinfo_documents = [ |
65 | | - (master_doc, 'pluggy', u'pluggy Documentation', |
66 | | - author, 'pluggy', 'One line description of project.', |
67 | | - 'Miscellaneous'), |
| 62 | + ( |
| 63 | + master_doc, |
| 64 | + "pluggy", |
| 65 | + u"pluggy Documentation", |
| 66 | + author, |
| 67 | + "pluggy", |
| 68 | + "One line description of project.", |
| 69 | + "Miscellaneous", |
| 70 | + ) |
68 | 71 | ] |
69 | 72 |
|
70 | 73 | # Example configuration for intersphinx: refer to the Python standard library. |
71 | | -intersphinx_mapping = {'https://docs.python.org/': None} |
| 74 | +intersphinx_mapping = {"https://docs.python.org/": None} |
0 commit comments