summaryrefslogtreecommitdiff
path: root/app/views/help/api.html.haml
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-07-06 03:05:12 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-07-06 03:05:12 +0300
commitbe1b40802dcbfd59ecdd3c7439fc48d6cec97e2b (patch)
tree5a1bd003c3b9f501d6cc13ae2832218df76d0807 /app/views/help/api.html.haml
parent6451e837bf2cf11f8956824329ddde0e14171a8e (diff)
downloadgitlab-ce-be1b40802dcbfd59ecdd3c7439fc48d6cec97e2b.tar.gz
Api page in help
Diffstat (limited to 'app/views/help/api.html.haml')
-rw-r--r--app/views/help/api.html.haml41
1 files changed, 41 insertions, 0 deletions
diff --git a/app/views/help/api.html.haml b/app/views/help/api.html.haml
new file mode 100644
index 00000000000..008e06df6ef
--- /dev/null
+++ b/app/views/help/api.html.haml
@@ -0,0 +1,41 @@
+%h3 API
+.back_link
+ = link_to help_path do
+ &larr; to index
+%hr
+
+%ol
+ %li
+ %a{:href => "#README"} README
+ %li
+ %a{:href => "#Projects"} Projects
+ %li
+ %a{:href => "#Users"} Users
+
+.file_holder#README
+ .file_title
+ %i.icon-file
+ README
+ .file_content.wiki
+ = preserve do
+ = markdown File.read(Rails.root.join("doc", "api", "README.md"))
+
+%br
+
+.file_holder#projects
+ .file_title
+ %i.icon-file
+ Projects
+ .file_content.wiki
+ = preserve do
+ = markdown File.read(Rails.root.join("doc", "api", "projects.md"))
+
+%br
+
+.file_holder#users
+ .file_title
+ %i.icon-file
+ Users
+ .file_content.wiki
+ = preserve do
+ = markdown File.read(Rails.root.join("doc", "api", "users.md"))