forked from yangyubo/zh-google-styleguide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
39 lines (30 loc) · 868 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
# -*- coding: utf-8 -*-
import sys, os
project = u'Google 开源项目风格指南'
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'Google 开源项目风格指南'
html_theme = 'haiku'
html_theme_path = ['../../../templates/sphinx', ]
htmlhelp_basename = 'google-styleguide'
html_add_permalinks = None
file_insertion_enabled = False
latex_documents = [
('index', 'google-styleguide.tex', u'Google 开源项目风格指南',
u'', 'manual'),
]
#Add sponsorship and project information to the template context.
context = {
'MEDIA_URL': "/media/",
'slug': 'google-styleguide',
'name': u'Google 开源项目风格指南',
'analytics_code': 'None',
}
html_context = context