Commit e61e3eaadb7f0c7c106b72d1325437e7743a2027
Committed by
Marin Jankovski
1 parent
ce498eed
Exists in
spb-stable
and in
2 other branches
render readme in help
Showing
3 changed files
with
17 additions
and
49 deletions
Show diff stats
app/assets/stylesheets/application.scss
app/views/help/index.html.haml
@@ -33,53 +33,9 @@ | @@ -33,53 +33,9 @@ | ||
33 | Use | 33 | Use |
34 | = link_to "shortcuts", '#', onclick: "new Shortcuts()" | 34 | = link_to "shortcuts", '#', onclick: "new Shortcuts()" |
35 | 35 | ||
36 | - .col-md-4 | ||
37 | - .ui-box | ||
38 | - .title | ||
39 | - User documentation | ||
40 | - %ul.well-list | ||
41 | - %li | ||
42 | - %strong= link_to "Workflow", help_workflow_path | ||
43 | - %p Learn how to use Git and GitLab together. | ||
44 | - | ||
45 | - %li | ||
46 | - %strong= link_to "SSH keys", help_ssh_path | ||
47 | - %p Setup secure access to your projects. | 36 | + .col-md-8 |
37 | + .ui-box.documentation | ||
38 | + .title Documentation | ||
48 | 39 | ||
49 | - %li | ||
50 | - %strong= link_to "GitLab Markdown", help_markdown_path | ||
51 | - %p Learn what you can do with GitLab's advanced formatting system. | ||
52 | - | ||
53 | - %li | ||
54 | - %strong= link_to "Permissions", help_permissions_path | ||
55 | - %p Get familiar with GitLab's permission levels. | ||
56 | - | ||
57 | - %li | ||
58 | - %strong= link_to "API", help_api_file_path(category: 'README') | ||
59 | - %p Explore how you can access GitLab via a simple and powerful API. | ||
60 | - | ||
61 | - %li | ||
62 | - %strong= link_to "Web Hooks", help_web_hooks_path | ||
63 | - %p Let GitLab notify you when new code has been pushed to your project. | ||
64 | - | ||
65 | - .col-md-4 | ||
66 | - .ui-box | ||
67 | - .title | ||
68 | - Admin documentation | ||
69 | - %ul.well-list | ||
70 | - | ||
71 | - %li | ||
72 | - %strong= link_to "Rake Tasks", help_raketasks_path | ||
73 | - %p Explore what GitLab has in store for you to make administration easier. | ||
74 | - | ||
75 | - %li | ||
76 | - %strong= link_to "System Hooks", help_system_hooks_path | ||
77 | - %p Let GitLab notify you when certain management tasks need to be carried out. | ||
78 | - | ||
79 | - %li | ||
80 | - %strong= link_to "Public Access", help_public_access_path | ||
81 | - %p Learn how you can allow public access to a project. | ||
82 | - | ||
83 | - %li | ||
84 | - %strong= link_to "Security", help_security_path | ||
85 | - %p Learn what you can do to secure your GitLab instance. | 40 | + = preserve do |
41 | + = markdown File.read(Rails.root.join("doc", "README.md")) | ||
86 | \ No newline at end of file | 42 | \ No newline at end of file |