Commit graph

117 commits

Author SHA1 Message Date
Simon Hausmann
7b95371c78 Move the Rust tutorial into a sub-directory
To make room for the C++ version next to it :-)
2021-06-17 11:04:43 +02:00
Simon Hausmann
a012809bd0 Re-apply manual syntax highlights
Those were also applied in the HTML version
2021-06-17 10:59:49 +02:00
Simon Hausmann
f02f091ac6 Add one more noplayground attribute
Forgot this one in the previous commit :-)
2021-06-17 10:47:40 +02:00
Simon Hausmann
9f11d3d126 Disable the playground buttons in the Rust tutorial
Running those requires sixtyfps and graphics. Would be cool of course to
have a wasm based playground in the future, but meanwhile it's better to
disable the buttons.
2021-06-17 10:46:48 +02:00
Simon Hausmann
a31e7e4220 Allow testing the individual Rust tutorial steps by hand
Might be useful for regression testing
2021-06-17 10:37:48 +02:00
Simon Hausmann
d9d580bbdf Fix .60 markup in step from one to multiple tiles 2021-06-16 15:44:37 +02:00
Simon Hausmann
5864411eca Extract all .60 code in the rust tutorial into separate files
That gives maximum test coverage
2021-06-16 14:45:18 +02:00
Simon Hausmann
573638c228 Include the icons as well in the .60 markup for the tests 2021-06-16 13:37:54 +02:00
Simon Hausmann
8bc8767e17 Test the tutorial Rust code in doctests
This implicitly also "tests" the .60 code since we're using the macro
2021-06-16 13:35:16 +02:00
Simon Hausmann
ea9548c207 Fix license header check 2021-06-16 08:51:24 +02:00
Simon Hausmann
9da1bc7eb6 tutorial: separate out the rust code into .rs files
That way even the "incomplete" snippets can be compile tested as only
the anchors will be pulled into the docs but the complete file can be
compile-tested in the future.
2021-06-15 19:08:08 +02:00
Simon Hausmann
fbf011abf2 Fix formatting
Don't use xml entity encoding for >
2021-06-15 17:33:16 +02:00
Simon Hausmann
cf54d56177 Add missing license header 2021-06-15 15:51:48 +02:00
Simon Hausmann
8f55c493b8 Fix link to video 2021-06-15 15:30:45 +02:00
Simon Hausmann
810a753cb9 Add .60 syntax highlighting 2021-06-15 15:30:26 +02:00
Simon Hausmann
1a3c879ee9 Add the last two missing "chapters" from the tutorial blog post 2021-06-15 15:20:48 +02:00
Simon Hausmann
ae0a08ecdd Initial conversion of the memory game tutorial to mdbook
This is the Rust version and it's still missing the wasm chapter.
There's also other bits missing, such as syntax checking, highlighting, etc.
2021-06-15 14:38:40 +02:00