Description Usage Arguments Custom CSS/JS Favicon
This creates the output directory, creates favicon.ico from package
logo, creates a machine readable description of the site, and sets up
assets and extra files.
1 | init_site(pkg = ".")
|
pkg |
Path to package. |
If you want to do minor customisation of your pkgdown site, the easiest
way is to add pkgdown/extra.css and pkgdown/extra.js. These
will be automatically copied to docs/ and inserted into the
<HEAD> after the default pkgdown CSS and JSS.
If you include you package logo in the standard location of
man/figures/logo.png, a favicon will be automatically created for
you.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.