Refactoring documentation

Change-Id: Ia023db7642928b0a04e9bfff3859a8e564e771b7
(cherry picked from commit 87e5f3b0734760819df5a1bcb1665560ec763698)
diff --git a/docs/book.json b/docs/book.json
index 388b9e5..f141a04 100644
--- a/docs/book.json
+++ b/docs/book.json
@@ -4,5 +4,30 @@
   "structure": {
     "summary": "SUMMARY.md"
   },
-  "plugins": ["toggle-chapters"]
+  "variables": {
+    "branch": "master"
+  },
+  "plugins": [
+    "toggle-chapters",
+    "versions-select"
+  ],
+  "pluginsConfig": {
+    "versions": {
+      "gitbookConfigURL": "https://raw.githubusercontent.com/opencord/cord/master/docs/book.json",
+      "options": [
+        {
+          "value": "http://guide.opencord.org",
+          "text": "Master"
+        },
+        {
+          "value": "http://guide.opencord.org/400",
+          "text": "4.0"
+        },
+        {
+          "value": "http://wiki.opencord.org",
+          "text": "3.0 and older"
+        }
+      ]
+    }
+  }
 }