| 1 | import datetime as dt |
| 2 | import os |
| 3 | import sys |
| 4 | |
| 5 | sys.path.insert(0, os.path.abspath('..')) |
| 6 | |
| 7 | extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.viewcode'] |
| 8 | |
| 9 | project = 'aiohttp-apispec' |
| 10 | author = 'Maksim Danilchenko' |
| 11 | copyright = 'Maksim Danilchenko and contributors {0:%Y}'.format(dt.datetime.utcnow()) |
| 12 | version = '0.3.2' |
| 13 | source_suffix = '.rst' |
| 14 | master_doc = 'index' |
| 15 | pygments_style = 'default' |
| 16 | html_theme = 'sphinx_rtd_theme' |
| 17 | html_static_path = ['_static'] |
| 18 | |
| 19 | html_theme_options = { |
| 20 | 'description': 'Build and document REST APIs with aiohttp and apispec', |
| 21 | 'show_powered_by': False, |
| 22 | 'display_version': True, |
| 23 | } |
| 24 | html_title = 'aiohttp-apispec Documentation' |
| 25 | html_short_title = 'aiohttp-apispec' |