Browse Source

adds redirects for docs

pjones-keymap
Jack Humbert 1 year ago
parent
commit
d8145c8464
2 changed files with 18 additions and 1 deletions
  1. 6
    1
      book.json
  2. 12
    0
      docs/redirects.json

+ 6
- 1
book.json View File

@@ -8,7 +8,8 @@
8 8
       "hints",
9 9
       "page-toc",
10 10
       "terminal",
11
-      "toolbar"
11
+      "toolbar",
12
+      "bulk-redirect"
12 13
     ],
13 14
     "pluginsConfig": {
14 15
       "edit-link": {
@@ -35,6 +36,10 @@
35 36
             "url": "https://github.com/qmk/qmk_firmware"
36 37
           }
37 38
         ]
39
+      }, 
40
+      "bulk-redirect": {
41
+          "basepath": "/",
42
+          "redirectsFile": "docs/redirects.json"
38 43
       }
39 44
     },
40 45
     "root": "./docs/"

+ 12
- 0
docs/redirects.json View File

@@ -0,0 +1,12 @@
1
+{
2
+    "redirects": [
3
+            {
4
+                "from": "build_environment_setup.html",
5
+                "to": "getting_started_build_tools.html"
6
+            },
7
+            {
8
+                "from": "make_instructions.html",
9
+                "to": "getting_started_make_guide.html"
10
+            },
11
+        ]
12
+}

Loading…
Cancel
Save