-
Notifications
You must be signed in to change notification settings - Fork 15
/
conf.py
87 lines (74 loc) · 2.75 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# -*- coding: utf-8 -*-
import os
import sys
import glob
import time
try:
exec(open('ProDy/docs/conf.py').read())
except IOError:
exec(open('manual/conf.py').read())
sys.path.append(os.path.abspath('manual/sphinxext'))
#'sphinxcontrib.googleanalytics',
#'ipython_console_highlighting',
#'ipython_directive']
extensions = [ 'sphinx.ext.todo',
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.coverage',
'sphinx.ext.extlinks',
'sphinx.ext.graphviz',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
'sphinx.ext.intersphinx',
'sphinx.ext.inheritance_diagram',
'matplotlib.sphinxext.mathmpl',
'matplotlib.sphinxext.only_directives',
'IPython.sphinxext.ipython_directive' ,
'IPython.sphinxext.ipython_console_highlighting',
'googleanalytics']
exclude_patterns.append('ProDy')
exclude_patterns.append('DruGUI')
exclude_patterns.append('tutorials/template')
exclude_patterns.extend(glob.glob('tutorials/**/acknowledgments.rst'))
templates_path = ['_template']
source_suffix = '.rst'
master_doc = 'contents'
# not needed when building the full website
intersphinx_mapping.pop('prodywebsite')
project = u'ProDy'
copyright = u'2010-2015, University of Pittsburgh'
# -- Options for HTML output ---------------------------------------------------
html_favicon = '_static/favicon.ico'
html_additional_pages = {
'index': 'prody.html',
'nmwiz/index': 'nmwiz.html',
'evol/index': 'evol.html',
'signdy/index': 'signdy.html',
'memanm/index': 'memanm.html',
'prs/index': 'prs.html',
'drugui/index': 'drugui.html',
'comd/index' : 'comd.html',
'downloads/index': 'downloads.html',
'tutorials/index': 'tutorials.html',
'statistics/index': 'statistics.html',
'mechstiff/index' : 'mechstiff.html',
'analytics/index' : 'analytics.html',
'workshop/index' : 'workshop.html',
'pharmmaker/index' : 'pharmmaker.html',
'cryody/index': 'cryody.html',
'essa/index': 'essa.html',
'clustenmd/index': 'clustenmd.html',
'watfinder/index': 'watfinder.html',
'insty/index': 'insty.html',
'scipion/index': 'scipion.html'
}
html_sidebars = {
'**': ['toolbox.html', 'releasenotes.html', 'howtocite.html'],
'tutorials/drugui_tutorial/**': ['toolbox.html', 'citedrugui.html'],
'tutorials/nmwiz_tutorial/**': ['toolbox.html', 'howtocite.html']
}
# -- Options for LaTeX output --------------------------------------------------
latex_logo = '_static/logo.png'
lines = (line for line in rst_epilog.split('\n')
if ('_Tut' not in line and '_NMW' not in line))
rst_epilog = '\n'.join(lines)