diff --git a/.bookignore b/.bookignore index ca876ab..b5108a2 100644 --- a/.bookignore +++ b/.bookignore @@ -3,6 +3,7 @@ _book/ _docs/ _examples/ _tools/ +docs/ Makefile building_the_book.md diff --git a/Makefile b/Makefile index 292d1ed..c575269 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ build: init examples + rm -rf _.docs gitbook build . _docs init: diff --git a/_layouts/website/page.html b/_layouts/website/page.html index 1108a1e..cfa403d 100644 --- a/_layouts/website/page.html +++ b/_layouts/website/page.html @@ -174,7 +174,7 @@ display: inline-block; width: 16px; height: 16px; - background: url(nats.svg); + background: url(/assets/images/nats.svg); background-size: 16px 16px; } diff --git a/assets/images/favicon.ico b/assets/images/favicon.ico new file mode 100644 index 0000000..9464855 Binary files /dev/null and b/assets/images/favicon.ico differ diff --git a/nats.svg b/assets/images/nats.svg similarity index 100% rename from nats.svg rename to assets/images/nats.svg diff --git a/book.json b/book.json index 6110e21..cfffb96 100644 --- a/book.json +++ b/book.json @@ -6,6 +6,7 @@ "prism", "-sharing", "-highlight", + "custom-favicon", "include-html", "toggle-chapters", "anchors" @@ -16,6 +17,7 @@ "ascii": "markup", "text": "markup" } - } + }, + "favicon": "assets/images/favicon.ico" } } \ No newline at end of file