R/pkgdown.R
in_pkgdown.Rd
This is occasionally useful when you need different behaviour by pkgdown and regular documentation.
in_pkgdown()
in_pkgdown() #> [1] TRUE