forked from prody/ProDy-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
57 lines (45 loc) · 1.64 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
# -*- coding: utf-8 -*-
import os
import sys
import glob
import time
try:
exec(open('manual/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']
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-2014, University of Pittsburgh'
# -- Options for HTML output ---------------------------------------------------
html_favicon = 'manual/_static/favicon.ico'
html_additional_pages = {
'index': 'prody.html',
'nmwiz/index': 'nmwiz.html',
'evol/index': 'evol.html',
'drugui/index': 'drugui.html',
'downloads/index': 'downloads.html',
'tutorials/index': 'tutorials.html',
'statistics/index': 'statistics.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 = 'manual/_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)