From b75ad215c85a53c34e170dba3c62093fc8655362 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Thu, 29 Jun 2017 12:25:29 -0400 Subject: use default base names --- book.json | 1 - 1 file changed, 1 deletion(-) (limited to 'book.json') diff --git a/book.json b/book.json index ff19e2974a..3da42c4b1c 100644 --- a/book.json +++ b/book.json @@ -1,6 +1,5 @@ { "structure": { - "readme": "home.md", "summary": "_summary.md" }, "plugins" : ["toolbar", "edit-link", "anchors"], -- cgit v1.2.3 From bf3007ec58d336d1ac6a70b6016d716e17ddb3ac Mon Sep 17 00:00:00 2001 From: skullY Date: Thu, 29 Jun 2017 11:46:58 -0700 Subject: Add some gitboot plugins --- book.json | 47 ++++++++++++++++++++++++++++++++--------------- 1 file changed, 32 insertions(+), 15 deletions(-) (limited to 'book.json') diff --git a/book.json b/book.json index 3da42c4b1c..a563184868 100644 --- a/book.json +++ b/book.json @@ -2,22 +2,39 @@ "structure": { "summary": "_summary.md" }, - "plugins" : ["toolbar", "edit-link", "anchors"], + "plugins" : [ + "anchors", + "toolbar", + "edit-link", + "forkmegithub", + "git-author", + "hints", + "numbered-headings", + "etoc", + "terminal", + ], "pluginsConfig": { - "edit-link": { - "base": "https://github.com/qmk/qmk_firmware/edit/master/docs", - "label": "Suggest an edit" - }, - "toolbar": { - "buttons": - [ - { - "label": "QMK Firmware", - "icon": "fa fa-github", - "url": "https://github.com/qmk/qmk_firmware" - } - ] - } + "edit-link": { + "base": "https://github.com/qmk/qmk_firmware/edit/master/docs", + "label": "Suggest an edit" + }, + "forkmegithub": { + "color": "darkblue", + "url": "https://github.com/qmk/qmk_firmware" + }, + "etoc": { + "maxdepth": 3, + "notoc": true + } + "toolbar": { + "buttons": [ + { + "label": "QMK Firmware", + "icon": "fa fa-github", + "url": "https://github.com/qmk/qmk_firmware" + } + ] + } }, "root": "./docs/" } -- cgit v1.2.3 From ada64b8ec96ccccc8b0af129cb63e49917b7f43f Mon Sep 17 00:00:00 2001 From: skullY Date: Thu, 29 Jun 2017 11:49:47 -0700 Subject: add missing comma --- book.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'book.json') diff --git a/book.json b/book.json index a563184868..2beadd31a8 100644 --- a/book.json +++ b/book.json @@ -25,7 +25,7 @@ "etoc": { "maxdepth": 3, "notoc": true - } + }, "toolbar": { "buttons": [ { -- cgit v1.2.3 From ad913864977f04b6005723f83397d35d74b33c74 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Thu, 29 Jun 2017 17:13:42 -0400 Subject: remove dangling commas --- book.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'book.json') diff --git a/book.json b/book.json index 2beadd31a8..8bf9921a83 100644 --- a/book.json +++ b/book.json @@ -4,14 +4,14 @@ }, "plugins" : [ "anchors", - "toolbar", "edit-link", + "etoc", "forkmegithub", "git-author", "hints", "numbered-headings", - "etoc", "terminal", + "toolbar" ], "pluginsConfig": { "edit-link": { -- cgit v1.2.3 From 780786596d7d454d89e5b1ebf960884d99229d95 Mon Sep 17 00:00:00 2001 From: skullY Date: Thu, 29 Jun 2017 11:55:26 -0700 Subject: remove most of the new plugins --- book.json | 4 ---- 1 file changed, 4 deletions(-) (limited to 'book.json') diff --git a/book.json b/book.json index 8bf9921a83..613c50dd8c 100644 --- a/book.json +++ b/book.json @@ -6,11 +6,7 @@ "anchors", "edit-link", "etoc", - "forkmegithub", - "git-author", - "hints", "numbered-headings", - "terminal", "toolbar" ], "pluginsConfig": { -- cgit v1.2.3 From a5bb83cbf3f82577c3b29a1bd47b58cf5e564775 Mon Sep 17 00:00:00 2001 From: skullY Date: Thu, 29 Jun 2017 11:56:29 -0700 Subject: remove the rest of the new plugins --- book.json | 2 -- 1 file changed, 2 deletions(-) (limited to 'book.json') diff --git a/book.json b/book.json index 613c50dd8c..860ca26c82 100644 --- a/book.json +++ b/book.json @@ -5,8 +5,6 @@ "plugins" : [ "anchors", "edit-link", - "etoc", - "numbered-headings", "toolbar" ], "pluginsConfig": { -- cgit v1.2.3 From 2e9e1eb03cc0dbf3a0a99b0690a45392197e520a Mon Sep 17 00:00:00 2001 From: skullY Date: Thu, 29 Jun 2017 12:19:16 -0700 Subject: remove extraneous config --- book.json | 8 -------- 1 file changed, 8 deletions(-) (limited to 'book.json') diff --git a/book.json b/book.json index 860ca26c82..b6f90fc110 100644 --- a/book.json +++ b/book.json @@ -12,14 +12,6 @@ "base": "https://github.com/qmk/qmk_firmware/edit/master/docs", "label": "Suggest an edit" }, - "forkmegithub": { - "color": "darkblue", - "url": "https://github.com/qmk/qmk_firmware" - }, - "etoc": { - "maxdepth": 3, - "notoc": true - }, "toolbar": { "buttons": [ { -- cgit v1.2.3 From 7da94ac51bf77d74b42ab63c06358ff59072289b Mon Sep 17 00:00:00 2001 From: skullY Date: Thu, 29 Jun 2017 12:24:24 -0700 Subject: Fixup the gitbook config --- book.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'book.json') diff --git a/book.json b/book.json index b6f90fc110..edbae4c66f 100644 --- a/book.json +++ b/book.json @@ -5,6 +5,12 @@ "plugins" : [ "anchors", "edit-link", + "etoc", + "forkmegithub", + "git-author", + "hints", + "numbered-headings", + "terminal", "toolbar" ], "pluginsConfig": { @@ -12,6 +18,14 @@ "base": "https://github.com/qmk/qmk_firmware/edit/master/docs", "label": "Suggest an edit" }, + "forkmegithub": { + "color": "red", + "url": "https://github.com/qmk/qmk_firmware" + }, + "etoc": { + "maxdepth": 3, + "notoc": true + }, "toolbar": { "buttons": [ { -- cgit v1.2.3 From dcd715ed4d3c57a3776695dcea18c63feaf7b84c Mon Sep 17 00:00:00 2001 From: skullY Date: Fri, 30 Jun 2017 09:33:03 -0700 Subject: Try neo-navigator in place of etoc --- book.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'book.json') diff --git a/book.json b/book.json index edbae4c66f..94ceeb1c3e 100644 --- a/book.json +++ b/book.json @@ -5,7 +5,7 @@ "plugins" : [ "anchors", "edit-link", - "etoc", + "neo-navigator", "forkmegithub", "git-author", "hints", @@ -22,10 +22,6 @@ "color": "red", "url": "https://github.com/qmk/qmk_firmware" }, - "etoc": { - "maxdepth": 3, - "notoc": true - }, "toolbar": { "buttons": [ { -- cgit v1.2.3 From 77ab0f16a0a72a1e9b2b4c82a01773c9270ce82d Mon Sep 17 00:00:00 2001 From: skullY Date: Fri, 30 Jun 2017 09:38:54 -0700 Subject: use navigator instead of neo-navigator --- book.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'book.json') diff --git a/book.json b/book.json index 94ceeb1c3e..555d367580 100644 --- a/book.json +++ b/book.json @@ -5,7 +5,7 @@ "plugins" : [ "anchors", "edit-link", - "neo-navigator", + "navigator", "forkmegithub", "git-author", "hints", -- cgit v1.2.3 From d6d14b67940c8de09a13fee4fe7ff30623d4653e Mon Sep 17 00:00:00 2001 From: skullY Date: Fri, 30 Jun 2017 09:50:12 -0700 Subject: try page-toc in place of navigator --- book.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'book.json') diff --git a/book.json b/book.json index 555d367580..f994114348 100644 --- a/book.json +++ b/book.json @@ -5,11 +5,11 @@ "plugins" : [ "anchors", "edit-link", - "navigator", "forkmegithub", "git-author", "hints", "numbered-headings", + "page-toc", "terminal", "toolbar" ], -- cgit v1.2.3 From 486abde026a2e2d44a09477bbeb4ff122c104f1d Mon Sep 17 00:00:00 2001 From: skullY Date: Fri, 30 Jun 2017 10:06:40 -0700 Subject: tweak page-toc settings --- book.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'book.json') diff --git a/book.json b/book.json index f994114348..b7c62b1dd3 100644 --- a/book.json +++ b/book.json @@ -22,6 +22,9 @@ "color": "red", "url": "https://github.com/qmk/qmk_firmware" }, + "page-toc": { + "selector": ".markdown-section h1, .markdown-section h2, .markdown-section h3" + }, "toolbar": { "buttons": [ { -- cgit v1.2.3 From ea8df568f23b79eba13ef9e914d8b1ce94688858 Mon Sep 17 00:00:00 2001 From: skullY Date: Fri, 30 Jun 2017 10:11:54 -0700 Subject: reduce the TOC scope --- book.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'book.json') diff --git a/book.json b/book.json index b7c62b1dd3..887d2a6431 100644 --- a/book.json +++ b/book.json @@ -23,7 +23,7 @@ "url": "https://github.com/qmk/qmk_firmware" }, "page-toc": { - "selector": ".markdown-section h1, .markdown-section h2, .markdown-section h3" + "selector": ".markdown-section h1, .markdown-section h2" }, "toolbar": { "buttons": [ -- cgit v1.2.3