-
-
Notifications
You must be signed in to change notification settings - Fork 99
/
conf.py
85 lines (72 loc) · 2.25 KB
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import param
param.parameterized.docstring_signature = False
param.parameterized.docstring_describe_params = False
from nbsite.shared_conf import *
project = 'hvPlot'
authors = 'HoloViz developers'
copyright_years['start_year'] = '2016'
copyright = copyright_fmt.format(**copyright_years)
description = 'A high-level plotting API for the PyData ecosystem built on HoloViews'
import hvplot
version = release = base_version(hvplot.__version__)
nbbuild_cell_timeout = 600
html_static_path += ['_static']
templates_path += ['_templates']
html_css_files = [
'nbsite.css',
'custom.css'
]
# Use require.js vendored by nbsite to display the Plotly figure
# add the end of the Plotting_Extensions notebook. require.js is normally
# loaded automatically by nbconvert but that happens not to be the case
# when a notebook converted via nbsite. Other HoloViews-Plotly plots
# are rendered via Panel, in a way that doesn't require require.js.
html_js_files = ['require.js']
html_theme_options.update({
"github_url": "https://github.com/holoviz/hvplot",
"icon_links": [
{
"name": "Twitter",
"url": "https://twitter.com/HoloViews",
"icon": "fab fa-twitter-square",
},
{
"name": "Discourse",
"url": "https://discourse.holoviz.org/c/hvplot",
"icon": "fab fa-discourse",
},
],
"google_analytics_id": "UA-154795830-5",
"navbar_end": ["navbar-icon-links"],
})
html_theme = "pydata_sphinx_theme"
html_logo = "_static/logo_horizontal.svg"
html_favicon = "_static/favicon.ico"
extensions += [
'nbsite.gallery',
'sphinx_copybutton',
]
myst_enable_extensions = ["colon_fence"]
nbsite_gallery_conf = {
'github_org': 'holoviz',
'github_project': 'hvplot',
'galleries': {
'reference': {
'title': 'Reference Gallery',
'intro': (
'Incomplete Reference Gallery containing some small '
'examples of different plot types.'),
'sections': [
'pandas',
'geopandas',
'xarray',
]
}
},
}
html_context.update({
"last_release": f"v{release}",
"github_user": "holoviz",
"github_repo": "panel",
"default_mode": "light",
})