1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-23 21:13:07 +03:00

Add help text

This commit is contained in:
Artyom 2016-02-21 16:54:10 +03:00
parent 49ac371d85
commit 1e2f13df01

View File

@ -320,6 +320,22 @@ renderRoot globalState = do
-- Include definitions of all Javascript functions that we have defined in -- Include definitions of all Javascript functions that we have defined in
-- this file. -- this file.
script_ (fromJS allJSFunctions) script_ (fromJS allJSFunctions)
div_ [id_ "help"] $ renderMarkdownLong [text|
You can edit everything without registration. Here are some
guidelines/observations/etc that probably make sense:
* sort pros/cons by importance
* if you don't something for any reason, edit it
* if you're unsure about something, still write it
(just warn others that you're unsure)
* if you have useful information of any kind that doesn't fit,
add it to the category notes
Subjective judgements and incomplete entries are completely alright
it's not Wikipedia, it's collaborative notes, so don't be afraid to
write anything here. Also, Markdown is supported, so use
bold/italics/code if you need to.
|]
categoriesNode <- div_ [id_ "categories"] $ do categoriesNode <- div_ [id_ "categories"] $ do
mapM_ renderCategory (globalState ^. categories) mapM_ renderCategory (globalState ^. categories)
thisNode thisNode