示例#1
0
# If true, keep warnings as "system message" paragraphs in the built documents.
# keep_warnings = False

# 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',
示例#2
0
# If true, keep warnings as "system message" paragraphs in the built documents.
# keep_warnings = False

# 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',