Some improvements to the documentation #508

Merged
merged 4 commits into from Jan 11, 2017

Projects

None yet

3 participants

@DarkWiiPlayer
Contributor

Changed app.<function> = function(self) to function app:<function>() in actions.md
I hope I didn't miss anything :P

DarkWiiPlayer added some commits Jan 9, 2017
@DarkWiiPlayer DarkWiiPlayer Made code examples prettier
Changed `app.<function> = function(self)` to `function app:<function>()` in actions.md
I hope I didn't miss anything :P
f393155
@DarkWiiPlayer DarkWiiPlayer Tell readers that HTML builder syntax is mostly intended for moonscript
This only becomes obvious after reading through the syntax, but it would be nice to tell the user in the beginning of the article so that they know what they are reading about.
6540460
@DarkWiiPlayer DarkWiiPlayer changed the title from Made code examples prettier to Some improvements to the documentation Jan 9, 2017
docs/html_generation.md
@@ -8,6 +8,8 @@
This guide is focused on using builder syntax in Lua/MoonScript to generate
HTML. If you're interested in a more traditional templating system see the
[etlua Templates guide]($root/reference/etlua_templates.html).
+This mechanism for generating HTML code is mainly intended to be used with
+moonscript, but it can also be used in lua code.
@sliceofcode
sliceofcode Jan 9, 2017 Contributor

Maybe capitalize Lua? It's being capitalized in the last sentence.

@leafo
leafo Jan 9, 2017 Owner

and MoonScript :)

@leafo leafo merged commit 2312e86 into leafo:master Jan 11, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@leafo
Owner
leafo commented Jan 11, 2017

Thanks

@DarkWiiPlayer DarkWiiPlayer deleted the DarkWiiPlayer:fixing_documentation branch Jan 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment