瀏覽代碼

Fixup the gitbook config

skullY 8 年之前
父節點
當前提交
7da94ac5
共有 3 個文件被更改,包括 18 次插入4 次删除
  1. 14 0
      book.json
  2. 2 2
      docs/custom_quantum_functions.md
  3. 2 2
      docs/understanding_qmk.md

+ 14 - 0
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": [
           {

+ 2 - 2
docs/custom_quantum_functions.md

@@ -1,7 +1,7 @@
-<!-- toc -->
-
 # How To Customize Your Keyboard's Behavior
 
+<!-- toc -->
+
 For a lot of people a custom keyboard is about more than sending button presses to your computer. You want to be able to do things that are more complex than simple button presses and macros. QMK has hooks that allow you to inject code, override functionality, and otherwise customize how your keyboard behaves in different situations. 
 
 This page does not assume any special knowledge about QMK, but reading [Understanding QMK](understanding_qmk.html) will help you understand what is going on at a more fundamental level.

+ 2 - 2
docs/understanding_qmk.md

@@ -1,7 +1,7 @@
-<!-- toc -->
-
 # Understanding QMK's Code
 
+<!-- toc -->
+
 This document attempts to explain how the QMK firmware works from a very high level. It assumes you understand basic programming concepts but does not (except where needed to demonstrate) assume familiarity with C. It assumes that you have a basic understanding of the following documents:
 
 * [QMK Overview](qmk_overview.md)