Browse Source

Add logo to sidebar

pull/1/head
Andrew Belt 7 years ago
parent
commit
1147f53726
5 changed files with 21 additions and 7 deletions
  1. +2
    -0
      .gitignore
  2. +5
    -6
      Makefile
  3. +5
    -1
      README.md
  4. +9
    -0
      book.json
  5. BIN
      images/logo.png

+ 2
- 0
.gitignore View File

@@ -0,0 +1,2 @@
node_modules
/_book

+ 5
- 6
Makefile View File

@@ -1,15 +1,14 @@


all: build

build: pdf
build:
gitbook build gitbook build


all: build pdf

run: run:
gitbook serve --port 8080 gitbook serve --port 8080


pdf:
gitbook pdf . VCV-Rack-manual.pdf
pdf: build
gitbook pdf . _book/VCV-Rack-manual.pdf


upload: all upload: all
rsync _book/ vcvrack.com:vcvrack.com/manual/ -ruvz --delete rsync _book/ vcvrack.com:vcvrack.com/manual/ -ruvz --delete


+ 5
- 1
README.md View File

@@ -16,7 +16,11 @@ Install [gitbook](https://github.com/GitbookIO/gitbook) with


npm install gitbook-cli -g npm install gitbook-cli -g


Run
Install gitbook plugins with

gitbook install

Build with


make run make run




+ 9
- 0
book.json View File

@@ -1,4 +1,13 @@
{ {
"plugins": [
"insert-logo-link"
],
"pluginsConfig": {
"insert-logo-link": {
"src": "images/logo.png",
"url": "https://vcvrack.com/"
}
},
"structure": { "structure": {
"readme": "Introduction.md", "readme": "Introduction.md",
"summary": "TOC.md", "summary": "TOC.md",


BIN
images/logo.png View File

Before After
Width: 74  |  Height: 24  |  Size: 2.0KB

Loading…
Cancel
Save