| 1 |
# -*- coding: utf-8 -*- |
| 2 |
|
| 3 |
import sys |
| 4 |
import os |
| 5 |
import shlex |
| 6 |
|
| 7 |
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..')) |
| 8 |
from ptk.meta import version, PackageInfo |
| 9 |
|
| 10 |
extensions = [ |
| 11 |
'sphinx.ext.autodoc', |
| 12 |
'sphinx.ext.viewcode', |
| 13 |
] |
| 14 |
|
| 15 |
templates_path = ['_templates'] |
| 16 |
source_suffix = '.rst' |
| 17 |
master_doc = 'index' |
| 18 |
|
| 19 |
project = PackageInfo.project_name |
| 20 |
copyright = '2019, %s' % PackageInfo.author_name |
| 21 |
author = PackageInfo.author_name |
| 22 |
release = version |
| 23 |
language = None |
| 24 |
exclude_patterns = [] |
| 25 |
pygments_style = 'sphinx' |
| 26 |
todo_include_todos = False |
| 27 |
|
| 28 |
html_theme = 'alabaster' |
| 29 |
html_static_path = ['_static'] |
| 30 |
htmlhelp_basename = '{name}doc'.format(name=author) |