From 215065978363075e07b73e0568924c906ca7156c Mon Sep 17 00:00:00 2001 From: Michael Droogleever Date: Sat, 21 Jul 2018 23:35:44 +0200 Subject: [PATCH] Fix links, add github link --- book.toml | 6 + src/hello-world/02.02.WINDOWS.md | 10 +- src/theme/index.hbs | 253 +++++++++++++++++++++++++++++++ 3 files changed, 260 insertions(+), 9 deletions(-) create mode 100644 book.toml create mode 100644 src/theme/index.hbs diff --git a/book.toml b/book.toml new file mode 100644 index 0000000..3e6a521 --- /dev/null +++ b/book.toml @@ -0,0 +1,6 @@ +[book] +authors = ["Michael Droogleever"] +multilingual = false +title = "MicroRust" +[output.html] +theme = "src/theme" diff --git a/src/hello-world/02.02.WINDOWS.md b/src/hello-world/02.02.WINDOWS.md index 02f9a21..a8689cd 100644 --- a/src/hello-world/02.02.WINDOWS.md +++ b/src/hello-world/02.02.WINDOWS.md @@ -15,10 +15,6 @@ on the list. That's the COM port assigned to the serial module. Now launch `putty`. A GUI will pop out. -

- -

- On the starter screen, which should have the "Session" category open, pick "Serial" as the "Connection type". On the "Serial line" field enter the `COM` device you got on the previous step, for example `COM3`. @@ -32,11 +28,7 @@ that the serial port is configured as follows: - "Parity": None - "Flow control": None -Finally, click the Open button. A console will show up now: - -

- -

+Finally, click the Open button. A console will show up now. If you type on this console, the TX (red) LED on the Serial module should blink. Each key stroke should make the LED blink once. Note that the console won't echo back what you type so the screen diff --git a/src/theme/index.hbs b/src/theme/index.hbs new file mode 100644 index 0000000..8ab46a2 --- /dev/null +++ b/src/theme/index.hbs @@ -0,0 +1,253 @@ + + + + + + {{ title }} + + + + + + + + + + + + + + + + + + + + + + {{#each additional_css}} + + {{/each}} + + {{#if mathjax_support}} + + + {{/if}} + + + + + + + + + + + + + + +
+ +
+ {{> header}} + + + {{#if search_enabled}} + + {{/if}} + + + + +
+
+ {{{ content }}} +
+ + +
+
+ + + +
+ + {{#if livereload}} + + + {{/if}} + + {{#if google_analytics}} + + + {{/if}} + + {{#if is_print}} + + {{/if}} + + {{#if playpen_js}} + + + + + + {{/if}} + + {{#if search_enabled}} + + {{/if}} + {{#if search_js}} + + + + {{/if}} + + + + + + + {{#each additional_js}} + + {{/each}} + + +