Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Apidoc theme#178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolaskruchten merged 2 commits intomasterfromapidoc_theme
Nov 7, 2019
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modifiedapidoc/_static/logo.png
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletionsapidoc/_static/plotly-style.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
.navbar-default {
background-color: #00004f;
}
.navbar {
min-height: 75px;
}
.navbar-brand {
font-family: "Open Sans", sans-serif;
padding: 10px 10px;
}
.body {
font-family: "Open Sans", sans-serif;
}
19 changes: 11 additions & 8 deletionsapidoc/conf.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,13 +14,13 @@
#
import os
import sys

import sphinx_bootstrap_theme
# sys.path.insert(0, os.path.abspath("../packages/python/plotly"))


# -- Project information -----------------------------------------------------

project = "plotly"
project = ""
copyright = "2019, plotly team"
author = "plotly team"

Expand DownExpand Up@@ -87,18 +87,18 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "alabaster"
html_theme = "bootstrap"
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()

html_logo='logo.png'
# 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 = {
#'nosidebar': True,
'analytics_id':'UA-39373211-1',
'logo':'logo.png',
'page_width': '70%',
'sidebar_width':'20%'
'analytics_id':'UA-39373211-1', # not supported by this theme
'bootswatch_theme': "flatly",
'source_link_position': "no"
}

# Add any paths that contain custom static files (such as style sheets) here,
Expand DownExpand Up@@ -203,3 +203,6 @@

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

def setup(app):
app.add_stylesheet("plotly-style.css") # also can be a full URL
1 change: 1 addition & 0 deletionsrequirements.txt
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -18,6 +18,7 @@ networkx
squarify
scikit-image
sphinx
sphinx_bootstrap_theme
recommonmark
pathlib
python-frontmatter

[8]ページ先頭

©2009-2025 Movatter.jp