From 20ab513816de1a8c9384e3f09a767e8088418e61 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Mon, 28 Mar 2016 13:17:31 -0700 Subject: [PATCH 1/2] Move theme to kindtheme.json --- kindtheme.json | 10 ++++++++++ libs/microbit/kind.json | 9 +-------- 2 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 kindtheme.json diff --git a/kindtheme.json b/kindtheme.json new file mode 100644 index 00000000..fdaee172 --- /dev/null +++ b/kindtheme.json @@ -0,0 +1,10 @@ +{ + "id": "microbit", + "name": "BBC micro:bit", + "title": "JavaScript for BBC micro:bit", + "logoUrl": "https://www.microbit.co.uk/", + "logo":"BBC micro:bitLayer 1", + "footerLogo": "image/svg+xml", + "koduUrl": "https://www.kodugamelab.com/bbc-microbit/", + "visualStudioCode": true +} diff --git a/libs/microbit/kind.json b/libs/microbit/kind.json index 3a06d69a..fa57a0b2 100644 --- a/libs/microbit/kind.json +++ b/libs/microbit/kind.json @@ -22,11 +22,6 @@ "id": "microbit", "name": "BBC micro:bit", "title": "JavaScript for BBC micro:bit", - "theme": { - "logoUrl": "https://www.microbit.co.uk/", - "logo":"BBC micro:bitLayer 1", - "footerLogo": "image/svg+xml" - }, "cloud": true, "blocksprj": { "id": "blocksprj", @@ -68,8 +63,6 @@ "README.md": "Describe your project here!" } }, - "koduUrl": "https://www.kodugamelab.com/bbc-microbit/", - "visualStudioCode": true, "compile": { "isNative": false, "hasHex": true @@ -79,4 +72,4 @@ "log": true } } -} \ No newline at end of file +} From 08e350f74c690a7e2bdce1c680724079ee33b327 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Mon, 28 Mar 2016 14:18:32 -0700 Subject: [PATCH 2/2] Add menu --- kindtheme.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/kindtheme.json b/kindtheme.json index fdaee172..9d0a61b9 100644 --- a/kindtheme.json +++ b/kindtheme.json @@ -6,5 +6,21 @@ "logo":"BBC micro:bitLayer 1", "footerLogo": "image/svg+xml", "koduUrl": "https://www.kodugamelab.com/bbc-microbit/", - "visualStudioCode": true + "visualStudioCode": true, + "docMenu": [ + { "name": "About Us", "path": "/about" }, + { "name": "Docs", "subitems": [ + { "name": "Basic", "path": "/reference/basic" }, + { "name": "Control", "path": "/reference/control" }, + { "name": "LEDs", "path": "/reference/control" }, + { "name": "Advanced", "subitems": [ + { "name": "Serial", "path": "/reference/serial" }, + { "name": "Debugging", "path": "/reference/debugging" } + ] }, + { "name": "---" }, + { "name": "Blocks", "path": "/reference/blocks" }, + { "name": "JavaScript", "path": "/reference/js" } + ] }, + { "name": "Lessons", "path": "/lessons" } + ] }