Skip to content

Commit 7fb4211

Browse files
authored
Docs updates (#1094)
* Update props and docs * Add logo * Update logo usage in docs * Update logo * Update button colours on landing page * Update logo in theme explorer navbar * Use logo from CDN
1 parent 64f64cf commit 7fb4211

File tree

27 files changed

+1141
-43
lines changed

27 files changed

+1141
-43
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ restrictions:
1919

2020
- Please **do not** use the issue tracker for personal support requests. Stack
2121
Overflow ([`plotly-dash`](https://stackoverflow.com/questions/tagged/plotly-dash) tag),
22-
or the [Plotly Community Forum](https://community.plot.ly) are better places to get help.
22+
or the [Plotly Community Forum](https://community.plotly.com) are better places to get help.
2323

2424
- Please **do not** derail or troll issues. Keep the discussion on topic and
2525
respect the opinions of others.

docs/components_page/components/carousel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This is a carousel with slides only. The default cycle time is 5000ms, but here
1212

1313
## With controls
1414

15-
Here we add the previous and next controls. The default is for the slideshow to autoplay after the user manually cycles the first item. Set `ride="carousel"` to start the slideshow on page load.
15+
Here we add the previous and next controls.
1616

1717
{{example:components/carousel/controls.py:carousel}}
1818

docs/components_page/components/carousel/simple.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@
99
controls=False,
1010
indicators=False,
1111
interval=2000,
12-
ride="carousel",
1312
)

docs/components_page/components/navbar/navbar.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import dash_bootstrap_components as dbc
22
from dash import Input, Output, State, html
33

4-
PLOTLY_LOGO = "https://images.plot.ly/logo/new-branding/plotly-logomark.png"
4+
LOGO = "https://placehold.co/100x100"
55

66
search_bar = dbc.Row(
77
[
@@ -22,13 +22,13 @@
2222
# Use row and col to control vertical alignment of logo / brand
2323
dbc.Row(
2424
[
25-
dbc.Col(html.Img(src=PLOTLY_LOGO, height="30px")),
25+
dbc.Col(html.Img(src=LOGO, height="30px")),
2626
dbc.Col(dbc.NavbarBrand("Navbar", className="ms-2")),
2727
],
2828
align="center",
2929
className="g-0",
3030
),
31-
href="https://plotly.com",
31+
href="https://placehold.co/",
3232
style={"textDecoration": "none"},
3333
),
3434
dbc.NavbarToggler(id="navbar-toggler", n_clicks=0),

docs/components_page/components/table/kwargs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# using the same table as in the above example
33
table_header + table_body,
44
bordered=True,
5-
dark=True,
5+
color="dark",
66
hover=True,
77
responsive=True,
88
striped=True,

docs/demos/theme_explorer/table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@
6161
dbc.Table(
6262
[table_header, table_body],
6363
bordered=True,
64-
dark=True,
6564
hover=True,
6665
responsive=True,
6766
striped=True,
6867
className="mb-2",
68+
color="dark",
6969
),
7070
),
7171
]

docs/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
dash==3.0.0rc1
2-
dash_bootstrap_components==1.7.1-dev
1+
dash==3.0.0rc3
2+
dash_bootstrap_components==2.0.0b2
33
gunicorn
44
markdown
55
pandas

docs/static/docs.css

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -294,21 +294,6 @@ span.hljs-meta {
294294
}
295295
}
296296

297-
.dbcd-masthead .btn-outline-secondary {
298-
color: #fa7268;
299-
border-color: #fa7268;
300-
}
301-
302-
.dbcd-masthead .btn-outline-secondary:hover {
303-
color: #fff;
304-
background-color: #fa7268;
305-
}
306-
307-
.dbcd-masthead .btn-secondary {
308-
background-color: #fa7268;
309-
border-color: #fa7268;
310-
}
311-
312297
.dbcd-main.changelog h2 {
313298
font-size: 1.5rem;
314299
}
-1.7 KB
Binary file not shown.

docs/static/images/dbciconwhite16.png

-1.98 KB
Binary file not shown.

0 commit comments

Comments
 (0)