Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential improvements to tutorials page #1601

Closed
mine-cetinkaya-rundel opened this issue Mar 29, 2021 · 4 comments
Closed

Potential improvements to tutorials page #1601

mine-cetinkaya-rundel opened this issue Mar 29, 2021 · 4 comments
Labels
feature a feature request or enhancement tutorials 🧑‍🏫

Comments

@mine-cetinkaya-rundel
Copy link
Contributor

The following would be nice improvements to the tutorials page of a pkgdown site:

  • Nested lists, e.g. being able to collect a number of tutorials under a subheader that you can define in _pkgdown.yml.
  • Thumbnails (screenshots) of each tutorial to be displayed so the page looks more like a gallery. Ideally, this would be automated (or semi-automated with an additional function one must run before building the page), but it could also be that the package author adds thumbnail images.
@maelle
Copy link
Collaborator

maelle commented Mar 30, 2021

For this & possible cards for the article index, I'm wondering how it'd be combined with metadata (e.g. if you have an image as metadata for a tutorial, is it the thumbnail https://pkgdown.r-lib.org/articles/metadata.html#article-metadata-1 -- not even sure this works for tutorials).

@mine-cetinkaya-rundel
Copy link
Contributor Author

For tutorials, I was thinking they would look like the ones under the Examples subheading at https://rstudio.github.io/learnr/#Overview. I'm not sure about articles though.

@apreshill
Copy link
Contributor

Wanted to link to this issue b/c some kind of bootstrap-based cards functions may be added to bslib (rstudio/bslib#297). We used this for the quillt template, like: https://pkgs.rstudio.com/blogdown/articles/articles/examples.html

populated from a YAML file: https://github.com/rstudio/blogdown/blob/master/vignettes/articles/examples.yml

@hadley hadley added feature a feature request or enhancement tutorials 🧑‍🏫 labels Sep 21, 2021
@hadley
Copy link
Member

hadley commented Nov 11, 2021

Superseded by #1899

@hadley hadley closed this as completed Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement tutorials 🧑‍🏫
Projects
None yet
Development

No branches or pull requests

4 participants