示例#1
0
文件: conf.py 项目: sethips/torchdata
    "sphinx.ext.autosummary",
    "sphinx.ext.doctest",
    "sphinx.ext.intersphinx",
    "sphinx.ext.todo",
    "sphinx.ext.napoleon",
    "sphinx.ext.viewcode",
    "sphinxcontrib.katex",
]

# -- 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 = "pytorch_sphinx_theme"
html_theme_path = [pytorch_sphinx_theme.get_html_theme_path()]

html_theme_options = {
    "related": "https://szymonmaszke.github.io/torchdata/related.html",
    "roadmap":
    "https://github.com/szymonmaszke/torchdata/blob/master/ROADMAP.md",
    "github_issues":
    "https://github.com/szymonmaszke/torchdata/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc",
    "home": "https://szymonmaszke.github.io/torchdata",
    "installation": "https://szymonmaszke.github.io/torchdata/#installation",
    "github": "https://github.com/szymonmaszke/torchdata",
    "docs": "https://szymonmaszke.github.io/torchdata/#torchdata",
    "collapse_navigation": False,
    "display_version": True,
    "logo_only": False,
    "canonical_url": "https://szymonmaszke.github.io/torchdata/",
示例#2
0
文件: conf.py 项目: alvinwan/TexSoup
# -- katex javascript in header
#
#    def setup(app):
#    app.add_javascript("https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js")


# -- 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 = 'pytorch_sphinx_theme'
html_theme_path = [pytorch_sphinx_theme.get_html_theme_path()]

# 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 = {
    'pytorch_project': 'docs',
    'canonical_url': 'http://texsoup.alvinwan.com',
    'collapse_navigation': False,
    'display_version': True,
    'logo_only': True,
}

html_logo = '_static/images/logo-dark.svg'