diff options
author | clarkzjw <[email protected]> | 2018-01-09 15:05:10 +0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2018-01-09 15:05:10 +0800 |
commit | 001940f3f01217a85c17e0cf9ef5949adb6ebad4 (patch) | |
tree | 6dc17aa540225777f1ab278785bdd5a1ca782226 /conf.py | |
parent | 7a581c4a5efca9615933676dc4ed5411409d2450 (diff) | |
download | blog.jinwei.me-001940f3f01217a85c17e0cf9ef5949adb6ebad4.tar.gz |
+ init
Diffstat (limited to 'conf.py')
-rw-r--r-- | conf.py | 105 |
1 files changed, 105 insertions, 0 deletions
@@ -0,0 +1,105 @@ | |||
1 | # -*- coding: utf-8 -*- | ||
2 | |||
3 | import alagitpull | ||
4 | alagitpull.projects = [ | ||
5 | { | ||
6 | 'name': 'unihan-etl', | ||
7 | 'url': 'https://unihan-etl.git-pull.com', | ||
8 | 'subprojects': [{ | ||
9 | 'name': 'db', | ||
10 | 'url': 'https://unihan-db.git-pull.com', | ||
11 | }] | ||
12 | }, { | ||
13 | 'name': 'tmuxp', | ||
14 | 'url': 'https://tmuxp.git-pull.com', | ||
15 | 'subprojects': [{ | ||
16 | 'name': 'libtmux', | ||
17 | 'url': 'https://libtmux.git-pull.com', | ||
18 | }] | ||
19 | }, | ||
20 | { | ||
21 | 'name': 'vcspull', | ||
22 | 'url': 'https://vcspull.git-pull.com', | ||
23 | 'subprojects': [{ | ||
24 | 'name': 'libvcs', | ||
25 | 'url': 'https://libvcs.git-pull.com', | ||
26 | }] | ||
27 | } | ||
28 | ] | ||
29 | |||
30 | extensions = [ | ||
31 | 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', | ||
32 | 'sphinx.ext.todo', 'sphinx.ext.viewcode', 'alagitpull' | ||
33 | ] | ||
34 | |||
35 | html_title = 'Hello World' | ||
36 | |||
37 | templates_path = ['_templates'] | ||
38 | |||
39 | source_suffix = '.rst' | ||
40 | |||
41 | master_doc = 'index' | ||
42 | |||
43 | project = u'ring0.xyz 🍵' | ||
44 | copyright = u'2013 - 2018, clarkzjw' # NOQA | ||
45 | |||
46 | version = '0.0' | ||
47 | release = '0.0' | ||
48 | |||
49 | exclude_patterns = ['_build', '.venv'] | ||
50 | |||
51 | pygments_style = 'sphinx' | ||
52 | |||
53 | html_theme_path = [alagitpull.get_path()] | ||
54 | html_theme = 'alagitpull' | ||
55 | html_favicon = 'favicon.ico' | ||
56 | html_theme_options = { | ||
57 | 'logo': 'img/bagua.png', | ||
58 | 'projects': alagitpull.projects, | ||
59 | } | ||
60 | html_sidebars = { | ||
61 | '**': [ | ||
62 | 'about.html', | ||
63 | 'relations.html', | ||
64 | 'more.html', | ||
65 | ] | ||
66 | } | ||
67 | |||
68 | html_static_path = ['_static'] | ||
69 | |||
70 | htmlhelp_basename = 'confuciangentlemansclubdoc' | ||
71 | |||
72 | |||
73 | latex_elements = { | ||
74 | } | ||
75 | |||
76 | latex_documents = [ | ||
77 | ('index', 'confuciangentlemansclub.tex', u'confucian gentleman\'s', | ||
78 | u'Tony Narlock', 'manual'), | ||
79 | ] | ||
80 | |||
81 | man_pages = [ | ||
82 | ('index', 'confuciangentlemansclub', u'confucian gentleman\'s club', | ||
83 | [u'Tony Narlock'], 1) | ||
84 | ] | ||
85 | |||
86 | texinfo_documents = [ | ||
87 | ('index', 'confuciangentlemansclub', u'confucian gentleman\'s club', | ||
88 | u'Tony Narlock', 'confuciangentlemansclub', 'Scribe.', | ||
89 | 'Miscellaneous'), | ||
90 | ] | ||
91 | |||
92 | intersphinx_mapping = { | ||
93 | 'https://docs.python.org/2/': None, | ||
94 | 'sphinx': ('https://sphinx.readthedocs.io/en/latest/', None), | ||
95 | 'django': ( | ||
96 | 'https://docs.djangoproject.com/en/1.11/', | ||
97 | 'https://docs.djangoproject.com/en/1.11/_objects/' | ||
98 | ), | ||
99 | 'flask': ('http://flask.pocoo.org/docs/', None), | ||
100 | 'flask-sqlalchemy': ('http://flask-sqlalchemy.pocoo.org/2.2/', None), | ||
101 | 'werkzeug': ('http://werkzeug.pocoo.org/docs/0.12/', None), | ||
102 | 'jinja': ('http://jinja.pocoo.org/docs/dev', None), | ||
103 | 'sqlalchemy': ('http://docs.sqlalchemy.org/en/latest/', None), | ||
104 | 'uwsgi': ('https://uwsgi-docs.readthedocs.io/en/latest/', None), | ||
105 | } | ||