コード例 #1
0
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True


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

html_theme = "sphinx_cobra_theme"

import sphinx_cobra_theme
import sphinx_rtd_theme

html_theme_path = [sphinx_rtd_theme.get_html_theme_path(),
                   sphinx_cobra_theme.get_theme_dir()]
print html_theme_path
html_sidebars = sphinx_cobra_theme.default_sidebars()

# shutil.copy()

# 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 = {'display_version': False}

html_context = {'conf_py_path': os.path.join(os.sep, 'docs', 'source', ''),
                'github_user': '******',
                'github_repo': 'cobratoolbox',
                'github_version': 'master',
                'theme_logo_only': True,
                'favicon_apple_touch': 'img/apple-touch-icon.png',
コード例 #2
0
ファイル: conf.py プロジェクト: marouenbg/cobratoolbox
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True


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

html_theme = "sphinx_cobra_theme"

import sphinx_cobra_theme
import sphinx_rtd_theme

html_theme_path = [sphinx_rtd_theme.get_html_theme_path(),
                   sphinx_cobra_theme.get_theme_dir()]
print html_theme_path
html_sidebars = sphinx_cobra_theme.default_sidebars()

# shutil.copy()

# 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 = {'display_version': False}

html_context = {'conf_py_path': os.path.join(os.sep, 'docs', 'source', ''),
                'github_user': '******',
                'github_repo': 'cobratoolbox',
                'github_version': 'master',
                'theme_logo_only': True,
                'show_source': False}