Skip to content

Commit

Permalink
website
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Dec 13, 2024
1 parent 2652b3c commit 2a65f3c
Show file tree
Hide file tree
Showing 19 changed files with 148 additions and 24 deletions.
3 changes: 1 addition & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ README.qmd
man-roxygen
Makefile
.quarto
vignettes/.*\.qmd$
vignettes/.*\.bib$
vignettes/
docs/
docs
.github
Expand Down
40 changes: 20 additions & 20 deletions altdoc/quarto_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,26 @@ website:
contents:
- section: Tutorial
contents:
- text: Tiny tables
file: vignettes/tinytable.qmd
- text: Format
file: vignettes/format.qmd
- text: Style
file: vignettes/style.qmd
- text: Group labels
file: vignettes/group.qmd
- text: Plots and images
file: vignettes/plot.qmd
- text: Themes
file: vignettes/theme.qmd
- text: Customization
file: vignettes/custom.qmd
- text: Notebooks
file: vignettes/notebooks.qmd
- text: FAQ
file: vignettes/faq.qmd
- text: Alternatives
file: vignettes/alternatives.qmd
- text: Tiny tables
file: vignettes/tinytable.qmd
- text: Format
file: vignettes/format.qmd
- text: Style
file: vignettes/style.qmd
- text: Group labels
file: vignettes/group.qmd
- text: Plots and images
file: vignettes/plot.qmd
- text: Themes
file: vignettes/theme.qmd
- text: Customization
file: vignettes/custom.qmd
- text: Notebooks
file: vignettes/notebooks.qmd
- text: FAQ
file: vignettes/faq.qmd
- text: Alternatives
file: vignettes/alternatives.qmd
- text: "Tutorial (PDF)"
file: vignettes/tinytable_tutorial.pdf
- section: Functions
Expand Down
14 changes: 14 additions & 0 deletions vignettes/figures/gallery/gallery.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

# Define the output GIF filename
output_gif="tinytable_gallery.gif"

# Use ImageMagick to create an animated GIF from images starting with 'tinytable_gallery_'
# -delay is increased for a slower animation (e.g., 100 equals 1 second per frame)
# -resize option is used to fit images within a 1280x720 frame (16:9 aspect ratio)
# convert -delay 250 -loop 0 tinytable_gallery_*.png -resize 1250x690 -gravity center -extent 1280x720 "$output_gif"
# convert -delay 250 -loop 0 tinytable_gallery_*.png -resize 1000x500 -gravity center -extent 1025x576 "$output_gif"
convert -delay 200 -loop 0 tinytable_gallery_*.png -resize 1000x500 -gravity center -extent 1025x576 -layers Optimize -colors 128 "$output_gif"

# Display a message when done
echo "Animated GIF created: $output_gif"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/figures/spider.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/figures/spider_long.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/figures/squirrel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/figures/tinytable_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions vignettes/figures/tinytable_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/figures/tinytable_logo_notext.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions vignettes/figures/tinytable_logo_notext.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/figures/tinytable_logo_notext_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions vignettes/plot.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ dat <- data.frame(
)
img <- c(
"../figures/spider.png",
"../figures/squirrel.png"
"figures/spider.png",
"figures/squirrel.png"
)
tt(dat) |>
Expand Down

0 comments on commit 2a65f3c

Please sign in to comment.