conf.py 1.33 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
              'sphinx.ext.autodoc', 'numpydoc',]
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
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

autosummary_generate = True
autodoc_default_flags = ['members', 'inherited-members']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The suffix of source filenames.
source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'OpenMM'
copyright = u'2015, Stanford University and the Authors'

# The short X.Y version.
version = simtk.openmm.version.short_version
# The full version, including alpha/beta/rc tags.
release = simtk.openmm.version.full_version

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# The theme to use for HTML and HTML Help pages.  See the documentation for
# a list of builtin themes.
40
html_theme = "sphinx_rtd_theme"
Robert McGibbon's avatar
Robert McGibbon committed
41
html_logo = 'logo.png'
Robert McGibbon's avatar
Sphinx  
Robert McGibbon committed
42
43
44
45
46
47
48
49
#html_favicon = None

html_static_path = ['_static']

autodoc_member_order = 'bysource'

# stackoverflow.com/questions/12206334
numpydoc_show_class_members = False