Skip to content

Commit 6b3af02

Browse files
committed
Merge branch 'main' into docs-quarto-html-colors
2 parents 52c0271 + f357132 commit 6b3af02

File tree

14 files changed

+1892
-43
lines changed

14 files changed

+1892
-43
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212

1313
<!-- [![Codecov](https://codecov.io/gh/posit-dev/gt-extras/branch/main/graph/badge.svg)](https://codecov.io/gh/posit-dev/gt-extras) -->
1414

15+
<div align="center">
16+
<img src="https://posit-dev.github.io/gt-extras/assets/2011-nfl-season.png" width="600px">
17+
</div>
1518

1619
> ⚠️ **gt-extras is currently in development, expect breaking changes.**
1720
@@ -53,7 +56,6 @@ gtcars_mini["efficiency"] = gtcars_mini["mpg_c"] / gtcars_mini["hp"] * 100
5356
)
5457
```
5558

56-
<!-- TODO here!!! -->
5759
<div align="center">
5860
<img src="https://posit-dev.github.io/gt-extras/assets/composite_car_example.png" width="800px">
5961
</div>
@@ -72,7 +74,6 @@ If you encounter a bug, have usage questions, or want to share ideas to make thi
7274
## Code of Conduct
7375
Please note that the **gt-extras** project is released with a [contributor code of conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).<br>By participating in this project you agree to abide by its terms.
7476

75-
7677
## 📄 License
7778

7879
**Great Tables** is licensed under the MIT license.

docs/_quarto.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ quartodoc:
5353
- gt_plt_conf_int
5454
- gt_plt_dot
5555
- gt_plt_dumbbell
56+
- gt_plt_summary
5657
- gt_plt_winloss
5758

5859
- title: Colors

docs/assets/2011-nfl-season.png

412 KB
Loading

docs/examples/index.qmd

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Examples
33
notebook-links: false
4+
toc: false
45
---
56

67
<style>
@@ -121,60 +122,63 @@ addEventListener('resize', setTableWidths);
121122

122123
::::{.masonry-container}
123124

124-
:::{.masonry-item}
125+
<!-- Override width in case they render slowly -->
126+
:::{.masonry-item style="--width: 686;"}
125127
{{< embed with-code.qmd#gt_plt_bar >}}
126128
[gt_plt_bar](./with-code.html#gt_plt_bar){.embed-hover-overlay}
127129
:::
128130

129-
:::{.masonry-item}
131+
:::{.masonry-item style="--width: 249;"}
130132
{{< embed with-code.qmd#gt_plt_bar_pct >}}
131133
[gt_plt_bar_pct](./with-code.html#gt_plt_bar_pct){.embed-hover-overlay}
132134
:::
133135

134-
:::{.masonry-item}
136+
:::{.masonry-item style="--width: 297;"}
135137
{{< embed with-code.qmd#gt_plt_bar_stack >}}
136138
[gt_plt_bar_stack](./with-code.html#gt_plt_bar_stack){.embed-hover-overlay}
137139
:::
138140

139-
<!-- Override width on some of the slower rendering ones -->
140141
:::{.masonry-item style="--width: 323;"}
141142
{{< embed with-code.qmd#gt_plt_bullet >}}
142143
[gt_plt_bullet](./with-code.html#gt_plt_bullet){.embed-hover-overlay}
143144
:::
144145

145-
:::{.masonry-item}
146+
:::{.masonry-item style="--width: 376;"}
146147
{{< embed with-code.qmd#gt_plt_conf_int >}}
147148
[gt_plt_conf_int](./with-code.html#gt_plt_conf_int){.embed-hover-overlay}
148149
:::
149150

150-
<!-- Override width on some of the slower rendering ones -->
151151
:::{.masonry-item style="--width: 292;"}
152152
{{< embed with-code.qmd#gt_plt_dot >}}
153153
[gt_plt_dot](./with-code.html#gt_plt_dot){.embed-hover-overlay}
154154
:::
155155

156-
:::{.masonry-item style="--width: 359;"}
156+
:::{.masonry-item style="--width: 413;"}
157157
{{< embed with-code.qmd#gt_plt_dumbbell >}}
158158
[gt_plt_dumbbell](./with-code.html#gt_plt_dumbbell){.embed-hover-overlay}
159159
:::
160160

161-
:::{.masonry-item}
161+
:::{.masonry-item style="--width: 521;"}
162+
{{< embed with-code.qmd#gt_plt_summary >}}
163+
[gt_plt_summary](./with-code.html#gt_plt_summary){.embed-hover-overlay}
164+
:::
165+
166+
:::{.masonry-item style="--width: 167;"}
162167
{{< embed with-code.qmd#gt_plt_winloss >}}
163168
[gt_plt_winloss](./with-code.html#gt_plt_winloss){.embed-hover-overlay}
164169
:::
165170

166-
:::{.masonry-item style="--width: 209;"}
171+
:::{.masonry-item style="--width: 211;"}
167172
{{< embed with-code.qmd#gt_color_box >}}
168173
[gt_color_box](./with-code.html#gt_color_box){.embed-hover-overlay}
169174
:::
170175

171-
<!-- Override width on some of the slower rendering ones -->
172-
:::{.masonry-item style="--width: 322;"}
176+
:::{.masonry-item style="--width: 347;"}
173177
{{< embed with-code.qmd#gt_data_color_by_group >}}
174178
[gt_data_color_by_group](./with-code.html#gt_data_color_by_group){.embed-hover-overlay}
175179
:::
176180

177-
:::{.masonry-item}
181+
:::{.masonry-item style="--width: 323;"}
178182
{{< embed with-code.qmd#gt_highlight_cols >}}
179183
[gt_highlight_cols](./with-code.html#gt_highlight_cols){.embed-hover-overlay}
180184
:::
@@ -194,17 +198,17 @@ addEventListener('resize', setTableWidths);
194198
[gt_theme_538](./with-code.html#gt_theme_538){.embed-hover-overlay}
195199
:::
196200

197-
:::{.masonry-item style="--width: 395;"}
201+
:::{.masonry-item style="--width: 359;"}
198202
{{< embed with-code.qmd#gt_theme_espn >}}
199203
[gt_theme_espn](./with-code.html#gt_theme_espn){.embed-hover-overlay}
200204
:::
201205

202-
:::{.masonry-item style="--width: 417;"}
206+
:::{.masonry-item style="--width: 388;"}
203207
{{< embed with-code.qmd#gt_theme_guardian >}}
204208
[gt_theme_guardian](./with-code.html#gt_theme_guardian){.embed-hover-overlay}
205209
:::
206210

207-
:::{.masonry-item style="--width: 334;"}
211+
:::{.masonry-item style="--width: 308;"}
208212
{{< embed with-code.qmd#gt_theme_nytimes >}}
209213
[gt_theme_nytimes](./with-code.html#gt_theme_nytimes){.embed-hover-overlay}
210214
:::
@@ -214,7 +218,7 @@ addEventListener('resize', setTableWidths);
214218
[gt_theme_excel](./with-code.html#gt_theme_excel){.embed-hover-overlay}
215219
:::
216220

217-
:::{.masonry-item style="--width: 411;"}
221+
:::{.masonry-item style="--width: 378;"}
218222
{{< embed with-code.qmd#gt_theme_dot_matrix >}}
219223
[gt_theme_dot_matrix](./with-code.html#gt_theme_dot_matrix){.embed-hover-overlay}
220224
:::
@@ -224,7 +228,7 @@ addEventListener('resize', setTableWidths);
224228
[gt_theme_dark](./with-code.html#gt_theme_dark){.embed-hover-overlay}
225229
:::
226230

227-
:::{.masonry-item style="--width: 488;"}
231+
:::{.masonry-item style="--width: 283;"}
228232
{{< embed with-code.qmd#gt_theme_pff >}}
229233
[gt_theme_pff](./with-code.html#gt_theme_pff){.embed-hover-overlay}
230234
:::
@@ -239,7 +243,7 @@ addEventListener('resize', setTableWidths);
239243
[fa_icon_repeat](./with-code.html#fa_icon_repeat){.embed-hover-overlay}
240244
:::
241245

242-
:::{.masonry-item}
246+
:::{.masonry-item style="--width: 451;"}
243247
{{< embed with-code.qmd#gt_fa_rank_change >}}
244248
[gt_fa_rank_change](./with-code.html#gt_fa_rank_change){.embed-hover-overlay}
245249
:::

0 commit comments

Comments
 (0)