use_bioc_pkgdown_css: Create a css with Bioconductor colors for pkgdown

View source: R/use_bioc_pkgdown_css.R

use_bioc_pkgdown_cssR Documentation

Create a css with Bioconductor colors for pkgdown

Description

This function creates the pkgdown/extra.css file with Bioconductor-style colors that will make your pkgdown documentation websites much cooler ^_^.

Usage

use_bioc_pkgdown_css()

Details

For more details on how this function came to be, check https://github.com/lcolladotor/biocthis/issues/34.

Value

This function adds and/or replaces the pkgdown/extra.css file in your R package.

Examples

## Not run: 
## Run this function in your package
use_bioc_support()

## End(Not run)

## Create an example package for illustrative purposes.
## Note: you do not need to run this for your own package!
pkgdir <- biocthis_example_pkg()

## Create a css file to style your pkgdown website in Bioconductor colors
biocthis::use_bioc_pkgdown_css()

lcolladotor/biocthis documentation built on Jan. 17, 2024, 8:07 p.m.