示例#1
0
文件: conf.py 项目: noinil/PyEMMA
# note there is no protocol given here to avoid mixing http with https
# see: http://docs.mathjax.org/en/latest/start.html#secure-cdn-access
mathjax_path = ("https://cdn.mathjax.org/mathjax/latest/MathJax.js?"
                "config=TeX-AMS-MML_HTMLorMML")

# -- Options for HTML output ---------------------------------------------

# theme
try:
    html_context = {
        'versions_json_url': 'http://www.emma-project.org/versions.json'
    }
    # msmb_theme extends rtd_theme
    import msmb_theme
    import sphinx_rtd_theme
    html_theme_path = [msmb_theme.get_html_theme_path(),
                       sphinx_rtd_theme.get_html_theme_path()]
    html_theme = 'msmb_theme'
except ImportError:
    html_theme = 'default'

# Theme options are theme-specific and customize the look and feel of a theme
# further.  For a list of options available for each theme, see the
# documentation.
#html_theme_options = {}

# pngmath_latex_preamble = r"""
# \usepackage{color}
# \definecolor{textgray}{RGB}{51,51,51}
# \color{textgray}
# """
示例#2
0

# -- Options for HTML output ---------------------------------------------------

# The theme to use for HTML and HTML Help pages.  See the documentation for
# a list of builtin themes.
html_theme = "msmb_theme"

# Theme options are theme-specific and customize the look and feel of a theme
# further.  For a list of options available for each theme, see the
# documentation.
#html_theme_options = {'base_url' : 'http://msmbuilder.org'}

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
html_theme_path = [msmb_theme.get_html_theme_path()]


# The name for this set of Sphinx documents.  If None, it defaults to
# "<project> v<release> documentation".
#html_title = None

# A shorter title for the navigation bar.  Default is the same as html_title.
#html_short_title = None

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
# html_logo = '_static/mdtraj_logo-small.png'
html_logo = 'logo-200px.png'

# The name of an image file (within the static path) to use as favicon of the