diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb new file mode 100644 index 00000000..c0e92159 --- /dev/null +++ b/app/controllers/help_controller.rb @@ -0,0 +1,7 @@ +class HelpController < ApplicationController + def wiki_syntax + end + + def wiki_syntax_detailed + end +end diff --git a/public/help/wiki_syntax.html b/app/views/help/wiki_syntax.html.erb similarity index 73% rename from public/help/wiki_syntax.html rename to app/views/help/wiki_syntax.html.erb index 6886f340..6b3b95d8 100644 --- a/public/help/wiki_syntax.html +++ b/app/views/help/wiki_syntax.html.erb @@ -1,24 +1,15 @@ - - -
- - -Font Styles | ||
---|---|---|
http://foo.bar | http://foo.bar | |
"Foo":http://foo.bar | Foo | |
Redmine links | ||
ChiliProject links | ||
[[Wiki page]] | Wiki page | |
Issue #12 | Issue #12 | |
Revision r43 | Revision r43 | |
!attached_image! |
Redmine allows hyperlinking between issues, changesets and wiki pages from anywhere wiki formatting is used.
+ChiliProject allows hyperlinking between issues, changesets and wiki pages from anywhere wiki formatting is used.
Escaping:
-HTTP URLs and email addresses are automatically turned into clickable links:
-http://www.redmine.org, someone@foo.bar +https://www.chiliproject.org, someone@foo.bar-
displays: http://www.redmine.org, someone@foo.bar
+displays: https://www.chiliproject.org, someone@foo.bar
If you want to display a specific text instead of the URL, you can use the standard textile syntax:
-"Redmine web site":http://www.redmine.org +"ChiliProject web site":https://www.chiliproject.org-
displays: Redmine web site
+displays: ChiliProject web site
For things such as headlines, bold, tables, lists, Redmine supports Textile syntax. See http://www.textism.com/tools/textile/ for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.
+For things such as headlines, bold, tables, lists, ChiliProject supports Textile syntax. See http://www.textism.com/tools/textile/ for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.
Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.
+ChiliProject assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.
This is centered paragraph.
+This is a centered paragraph.
Redmine has the following builtin macros:
+ChiliProject has the following builtin macros:
hello_world
Sample macro.
include
Include a wiki page. Example:
@@ -266,5 +259,3 @@ To go live, all you need to add is a database and a web server. 10 end - - diff --git a/app/views/layouts/help.html.erb b/app/views/layouts/help.html.erb new file mode 100644 index 00000000..1a64c478 --- /dev/null +++ b/app/views/layouts/help.html.erb @@ -0,0 +1,13 @@ + + + +