Closed maelle closed 2 years ago
Example
issue_number <- 103
pkgdown::build_site(
override = list(
home = list(
sidebar = list(
structure = c("links", "license", "community", "citation", "authors", "softwarereview"),
components = list(
softwarereview = list(
title = "Software Peer-Review",
text = sprintf(
"[![rOpenSci peer-review](https://badges.ropensci.org/%s_status.svg)](https://github.com/ropensci/software-review/issues/%s)",
issue_number,
issue_number
)
)
)
)
)
)
)
result
@maelle I like that! Can we easily add this to build_ropensci_docs()
in this pkg?
yes I'll try that!
I agree - that looks great !
@mpadge @jeroen
pkgdown now no longer includes badges in the sidebar for released website.
How to include software review badges?
Visually, it could be a section like community but called "Software Review" with below the badges + a link to the issue not via the badge.