• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python sphinx_bootstrap_theme.get_html_theme_path函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中sphinx_bootstrap_theme.get_html_theme_path函数的典型用法代码示例。如果您正苦于以下问题:Python get_html_theme_path函数的具体用法?Python get_html_theme_path怎么用?Python get_html_theme_path使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了get_html_theme_path函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: file

# a list of builtin themes.
html_theme = 'bootstrap'

# 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': 'flatly',
    'navbar_site_name': 'API',
    'navbar_links': [
        ('GitHub', '//github.com/ligovirgo/trigfind/', True),
    ],
}

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

# The name for this set of Sphinx documents.
# "<project> v<release> documentation" by default.
#html_title = u'trigfind v0.3'

# 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 (relative to this directory) to use as a favicon of
# the docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
开发者ID:ahnitz,项目名称:trigfind,代码行数:31,代码来源:conf.py


示例2:

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


# -- 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 = 'sphinx_rtd_theme'

html_theme = 'nngt_theme'
html_theme_path = ["."] + sphinx_bootstrap_theme.get_html_theme_path()

html_theme_options = {
    # A list of tuples containing pages or urls to link to.
    # Valid tuples should be in the following forms:
    #    (name, page)                 # a link to a page
    #    (name, "/aa/bb", 1)          # a link to an arbitrary relative url
    #    (name, "http://example.com", True) # arbitrary absolute url
    # Note the "1" or "True" value above as the third argument to indicate
    # an arbitrary url.
    'navbar_links': [
        ("Modules", "py-modindex"),
        ("Index", "genindex"),
        ("GitHub", "https://github.com/Silmathoron/NNGT", True),
    ],
开发者ID:Silmathoron,项目名称:NNGT,代码行数:29,代码来源:conf.py


示例3: Pygments

exclude_patterns = ['_build', 'themes', 'README.rst']

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

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False


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

import sphinx_bootstrap_theme

html_theme = 'tuos'

html_theme_path = ['themes'] + sphinx_bootstrap_theme.get_html_theme_path()

html_theme_options = {'navbar_sidebarrel':False,
                      'navbar_pagenav': False,
                      'source_link_position': False,
                      'bootswatch_theme': 'flatly',
                      'navbar_site_name': "Sheffield HPC Documentation",
                      'navbar_title': ' ',
                      'navbar_links': [("RCG Home", "http://www.shef.ac.uk/cics/research", True),
                                       ("Documentation Home", "index"),
                                       ("GitHub", "https://github.com/rcgsheffield/sheffield_hpc", True),
                                       ],
                      'globaltoc_depth': 1}

#html_sidebars = {'software/**': ['softwaretoc.html'],
#                 'gpu/**': ['softwaretoc.html'],
开发者ID:Cadair,项目名称:iceberg_software,代码行数:31,代码来源:conf.py


示例4: import

# -----------------------------------------------------------------------------------------------------------------------
# DEFINITIONS:
# -----------------------------------------------------------------------------------------------------------------------

from coconut.constants import (  # NOQA
    project,
    copyright,
    author,
    highlight_language,
)

version = VERSION
release = version_str_tag

html_theme = "bootstrap"
html_theme_path = get_html_theme_path()

master_doc = "index"
exclude_patterns = ["README.*"]

source_suffix = [".rst", ".md"]
source_parsers = {
    ".md": CommonMarkParser,
}

default_role = "code"

# -----------------------------------------------------------------------------------------------------------------------
# SETUP:
# -----------------------------------------------------------------------------------------------------------------------
开发者ID:evhub,项目名称:coconut,代码行数:30,代码来源:conf.py


示例5: Pygments

# output. They are ignored by default.
#show_authors = False

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

# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []


# -- 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 = 'bootstrap'
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() + ['_templates']

#agogo/theme.conf
#basic/theme.conf
#default/theme.conf
#epub/theme.conf
#haiku/theme.conf
#nature/theme.conf
#scrolls/theme.conf
#sphinxdoc/theme.conf
#traditional/theme.conf


# 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.
开发者ID:RaphaelRochet,项目名称:puddletag,代码行数:31,代码来源:conf.py


示例6:

master_doc = 'index'

project = u'exploring-flask'
author = u'Roie R. Black'
copyright = u'2014, Roie R. Black'
version = '0.1.0'
release = '0.1.0'

today_fmt = '%B %d, %Y'
exclude_patterns = ['docs/_build', '_venv']
pygments_style = 'sphinx'


# -- Options for HTML output ----------------------------------------------
html_theme = 'bootstrap'
html_theme_path = bst.get_html_theme_path()
html_title = None
html_logo = ''
html_favicon = None
html_static_path = ['_static']
html_last_updated_fmt = '%b %d, %Y'
html_show_sourcelink = True
html_show_sphinx = True
html_show_copyright = True

# -- Options for LaTeX output ---------------------------------------------

latex_elements = {
'papersize': 'letterpaper',
'pointsize': '10pt',
#'preamble': '',
开发者ID:rblack42,项目名称:exploring-flask,代码行数:31,代码来源:conf.py



注:本文中的sphinx_bootstrap_theme.get_html_theme_path函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python sphinx_rtd_theme.get_html_theme_path函数代码示例发布时间:2022-05-27
下一篇:
Python text.TextWriter类代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap