View source: R/use_bioc_pkgdown_css.R
use_bioc_pkgdown_css | R Documentation |
This function creates the pkgdown/extra.css
file with Bioconductor-style
colors that will make your pkgdown
documentation websites much cooler ^_^.
use_bioc_pkgdown_css()
For more details on how this function came to be, check https://github.com/lcolladotor/biocthis/issues/34.
This function adds and/or replaces the pkgdown/extra.css
file in
your R package.
## 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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.