forked from jquery/esprima
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
46 lines (41 loc) · 1.3 KB
/
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
41
42
43
44
45
import sys
import os
project = u'Esprima'
author = u'Ariya Hidayat'
version = 'master'
release = 'master'
master_doc = 'index'
exclude_patterns = ['_build']
pygments_style = 'sphinx'
# HTML output
html_theme = "alabaster"
html_theme_options = {
'fixed_sidebar': False,
'logo_name': True,
'description': 'ECMAScript parsing infrastructure for multipurpose analysis',
'logo': 'esprima.png',
'github_user': 'jquery',
'github_repo': 'esprima',
'github_type': 'star',
'font_family': '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif',
'head_font_family': '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif',
'code_font_family': '"Roboto Mono",Menlo,Monaco,Consolas,"Courier New",monospace',
}
html_sidebars = {
'**': [
'about.html',
'searchbox.html',
'navigation.html',
]
}
html_static_path = ['_static']
html_show_sourcelink = False
html_show_sphinx = True
html_show_copyright = False
htmlhelp_basename = 'Testdoc'
# Markdown support
from recommonmark.parser import CommonMarkParser
source_suffix = ['.rst', '.md']
source_parsers = {
'.md': CommonMarkParser,
}