idiv-biodiversity / lcvplants

Large-scale taxonomic harmonization of plant names by fuzzy matching and synonymy resolution against the Leipzig Plant List as taxonomic backbone. Submission of single names or list of species names is possible.
https://idiv-biodiversity.github.io/lcvplants/
Other
14 stars 3 forks source link

Make vignette easier to access and add title #31

Closed Rekyt closed 3 years ago

Rekyt commented 3 years ago

For the moment when browser the lcvplants website this is what we can see: Capture d’écran 2021-01-19 à 19 06 22 This is due to the fact that no title field was defined in the vignette YAML preamble. I propose doing so in this branch.

Another suggestion would be to rename the vignette to lcvplants.Rmd so that pkgdown can pick it up and show the vignette as "Get started" in the navbar on the website:

Get started

Note that a vignette with the same name as the package (e.g., vignettes/pkgdown.Rmd or vignettes/articles/pkgdown.Rmd) automatically becomes a top-level "Get started" link, and will not appear in the articles drop-down.

(If your package name includes a ., e.g. pack.down, use a - in the vignette name, e.g. pack-down.Rmd.)

and it displays as follow: Capture d’écran 2021-01-19 à 19 11 05

Rekyt commented 3 years ago

This has been fixed by 16832ed8fbf84fab7b9705cce6da31c90dbda065