|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | +import pkg_resources |
| 3 | + |
| 4 | + |
| 5 | +extensions = [ |
| 6 | + 'sphinx.ext.autodoc', |
| 7 | + 'sphinx.ext.doctest', |
| 8 | + 'sphinx.ext.intersphinx', |
| 9 | + 'sphinx.ext.coverage', |
| 10 | + 'sphinx.ext.viewcode', |
| 11 | +] |
| 12 | + |
| 13 | +# Add any paths that contain templates here, relative to this directory. |
| 14 | +templates_path = ['_templates'] |
| 15 | + |
| 16 | +source_suffix = '.rst' |
| 17 | + |
| 18 | +# The master toctree document. |
| 19 | +master_doc = 'index' |
| 20 | + |
| 21 | +# General information about the project. |
| 22 | + |
| 23 | +dist = pkg_resources.get_distribution('pluggy') |
| 24 | +project = dist.project_name |
| 25 | +copyright = u'2016, Holger Krekel' |
| 26 | +author = 'Holger Krekel' |
| 27 | + |
| 28 | +release = dist.version |
| 29 | +# The short X.Y version. |
| 30 | +version = u'.'.join(dist.version.split('.')[:2]) |
| 31 | + |
| 32 | + |
| 33 | +language = None |
| 34 | + |
| 35 | +pygments_style = 'sphinx' |
| 36 | +html_theme = 'alabaster' |
| 37 | +html_static_path = ['_static'] |
| 38 | + |
| 39 | +# One entry per manual page. List of tuples |
| 40 | +# (source start file, name, description, authors, manual section). |
| 41 | +man_pages = [ |
| 42 | + (master_doc, 'pluggy', u'pluggy Documentation', |
| 43 | + [author], 1) |
| 44 | +] |
| 45 | + |
| 46 | + |
| 47 | +# -- Options for Texinfo output ------------------------------------------- |
| 48 | + |
| 49 | +# Grouping the document tree into Texinfo files. List of tuples |
| 50 | +# (source start file, target name, title, author, |
| 51 | +# dir menu entry, description, category) |
| 52 | +texinfo_documents = [ |
| 53 | + (master_doc, 'pluggy', u'pluggy Documentation', |
| 54 | + author, 'pluggy', 'One line description of project.', |
| 55 | + 'Miscellaneous'), |
| 56 | +] |
| 57 | + |
| 58 | +# Example configuration for intersphinx: refer to the Python standard library. |
| 59 | +intersphinx_mapping = {'https://docs.python.org/': None} |
0 commit comments