-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathconf.py
41 lines (31 loc) · 821 Bytes
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- coding: utf-8 -*-
import sys, os
project = u'Sphinx 使用手册'
copyright = u''
version = u''
release = u''
source_suffix = '.rst'
master_doc = 'contents'
language = 'en_US'
exclude_patterns = ['_build']
extensions = ['sphinx.ext.pngmath']
pygments_style = 'sphinx'
html_title = u'Sphinx 使用手册'
html_theme = 'haiku'
html_theme_path = ['../../../templates/sphinx', ]
htmlhelp_basename = 'sphinx'
html_add_permalinks = None
file_insertion_enabled = False
latex_documents = [
('index', 'sphinx.tex', u'Sphinx 使用手册',
u'', 'manual'),
]
exclude_patterns = ['README.rst']
#Add sponsorship and project information to the template context.
context = {
'MEDIA_URL': "/media/",
'slug': 'sphinx',
'name': u'sphinx使用手册',
'analytics_code': 'None',
}
html_context = context