"platforms/hip/src/HipParallelKernels.cpp" did not exist on "f631ecaff0421262a301bd472379f8bead68f1a8"
conf.py 2.11 KB
Newer Older
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
1
2
3
# -*- coding: utf-8 -*-

import os
4
5
import sys

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

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

autosummary_generate = True
19
autodoc_default_options = {
20
21
22
    "members": True,
    "inherited-members": True,
    "member-order": "bysource",
23
}
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
24

25
26
source_suffix = ".rst"
master_doc = "index"
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
27

28
29
project = u"OpenMM Python API"
copyright = u"2015, Stanford University and the Authors"
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
30

31
32
version = openmm.version.short_version
release = openmm.version.full_version
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
33

34
35
36
exclude_patterns = ["_build", "_templates"]
html_static_path = ["_static"]
templates_path = ["_templates"]
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
37

38
pygments_style = "sphinx"
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
39

Robert McGibbon's avatar
Robert McGibbon committed
40
41
html_theme = "alabaster"
html_theme_options = {
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
    "github_button": False,
    "github_user": "openmm",
    "github_repo": "openmm",
    "logo_name": True,
    "logo": "logo.png",
    "extra_nav_links": [
        {
            "title": "OpenMM.org",
            "uri": "https://openmm.org",
            "relative": False,
        },
        {
            "title": "User's Manual",
            "uri": "../userguide/",
            "relative": True,
        },
        {
            "title": "Developer Guide",
            "uri": "../developerguide/",
            "relative": True,
        },
        {
            "title": "C++ API reference",
            "uri": "../api-c++/",
            "relative": True,
        },
        {
            "title": "GitHub",
            "uri": "https://github.com/openmm",
            "relative": False,
        },
    ],
    "show_relbar_bottom": True,
Robert McGibbon's avatar
Robert McGibbon committed
75
76
}
html_sidebars = {
77
78
79
80
    "**": [
        "about.html",
        "lunrsearch.html",
        "navigation.html",
Robert McGibbon's avatar
Robert McGibbon committed
81
82
    ]
}
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
83

Robert McGibbon's avatar
Robert McGibbon committed
84
85
86
87
88
89
90
91
92
93
94
# 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