conf.py 1.45 KB
Newer Older
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
1
2
3
4
# -*- coding: utf-8 -*-

import sys
import os
5
import openmm.version
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
6
7

extensions = ['sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'sphinx.ext.autosummary',
Robert McGibbon's avatar
Robert McGibbon committed
8
9
              'sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'process-docstring',
              'sphinxcontrib.lunrsearch']
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
10
11
12

autosummary_generate = True
autodoc_default_flags = ['members', 'inherited-members']
Robert McGibbon's avatar
Robert McGibbon committed
13
autodoc_member_order = 'bysource'
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
14
15
16
17
18
19
20

source_suffix = '.rst'
master_doc = 'index'

project = u'OpenMM'
copyright = u'2015, Stanford University and the Authors'

21
22
version = openmm.version.short_version
release = openmm.version.full_version
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
23

Robert T. McGibbon's avatar
Robert T. McGibbon committed
24
exclude_patterns = ['_build', '_templates']
Robert McGibbon's avatar
Robert McGibbon committed
25
html_static_path = ['_static']
Robert T. McGibbon's avatar
Robert T. McGibbon committed
26
templates_path = ['_templates']
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
27
28
29

pygments_style = 'sphinx'

Robert McGibbon's avatar
Robert McGibbon committed
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
html_theme = "alabaster"
html_theme_options = {
    'description': "High performance molecular simulation on GPUs",
    'github_button': False,
    # 'github_user': 'pandegroup',
    # 'github_repo': 'openmm',
    'logo_name': False,
    'logo': 'logo.png',
}
html_sidebars = {
    '**': [
        'about.html',
        'searchbox.html',
        'navigation.html',
    ]
}
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
46

Robert McGibbon's avatar
Robert McGibbon committed
47
48
49
50
51
52
53
54
55
56
57
# Napoleon settings
napoleon_google_docstring = False
napoleon_numpy_docstring = True
napoleon_include_private_with_doc = False
napoleon_include_special_with_doc = True
napoleon_use_admonition_for_examples = False
napoleon_use_admonition_for_notes = False
napoleon_use_admonition_for_references = False
napoleon_use_ivar = False
napoleon_use_param = True
napoleon_use_rtype = True