Esempio n. 1
0
html_theme = 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 = {}

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
if theme == 'cloud':
    html_theme_path = [cloud_sptheme.get_theme_dir()]
elif theme == 'bootstrap':
    html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
elif theme == 'sphinxtrap':
    html_theme_path = [sphinxtrap.get_theme_dir()]
elif theme == 'readability':
    readability_path = os.path.dirname(os.path.abspath(sphinxtheme.__file__))
    relative_path = os.path.relpath(readability_path, os.path.abspath('.'))
    html_theme_path = [relative_path]
elif theme == 'sphinx_rtd_theme':
    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# The name for this set of Sphinx documents.
# "<project> v<release> documentation" by default.
#
# html_title = None

# A shorter title for the navigation bar.  Default is the same as html_title.
#
# html_short_title = None
Esempio n. 2
0
import sys
import os
import sphinxtrap 

extensions = ["sphinxtrap.ext.rawtoc"]
html_theme = 'sphinxtrap'
html_theme_path = [sphinxtrap.get_theme_dir()]
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
project = u'testprj'
copyright = u'2014, foo'
version = '0.1'
release = '0.1'
exclude_patterns = []
pygments_style = 'sphinx'
html_static_path = ['_static']
htmlhelp_basename = 'testprjdoc'
Esempio n. 3
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 = 'sphinxtrap'

# 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 = {
#        'bootswatch_theme': 'cosmo'
}

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

# 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 = None

# The name of an image file (within the static path) to use as favicon of the
# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.