1.0.3 • Published 8 years ago

gitbook-plugin-refavicon v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

gitbook-plugin-refavicon

Add your own favicon to gitbook themes.

Plugin deletes the gitbook favicon located at "_book/gitbook/images/favicon.ico" && "_book/gitbook/images/apple-touch-icon-precomposed-152.png" and replaces with your images.

Install via gitbook

In book.json

  • Add refavicon to your plugins array
  • Add path to your favicon in favicon under pluginsConfig
  • Add path to your favicon in appleTouchIconPrecomposed152 under pluginsConfig

book.json

{
	"plugins" : ["custom-favicon"],
	"pluginsConfig" : {
		"favicon": "path/to/favicon.ico",
		"appleTouchIconPrecomposed152":"path/to/apple-touch-icon-precomposed-152.png"
	}
}

using gitbook-cli

gitbook install

Using NPM

npm install gitbook-plugin-refavicon