"platforms/vscode:/vscode.git/clone" did not exist on "5a4103d7eaaf77e7204bfa8a4093da37608662aa"
conf.py 1.46 KB
Newer Older
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
1
2
3
4
5
6
7
# -*- coding: utf-8 -*-

import sys
import os
import simtk.openmm.version

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
21
22
23
24

source_suffix = '.rst'
master_doc = 'index'

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

version = simtk.openmm.version.short_version
release = simtk.openmm.version.full_version

exclude_patterns = ['_build']
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