Skip to content
Snippets Groups Projects
Commit d5a8f9cc authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'cleaner-help-page' into 'master'

Cleaner help page

Focus on documentation. Move quick help section to right. Remove unnecessary styling

See merge request !950
parents fe2cb593 a5379ef9
No related branches found
No related tags found
No related merge requests found
.jumbotron %div
%h2 %h1
GitLab GitLab
%span= Gitlab::VERSION %span= Gitlab::VERSION
%small= Gitlab::REVISION %small= Gitlab::REVISION
Loading
@@ -16,7 +16,17 @@
Loading
@@ -16,7 +16,17 @@
%br %br
Read more about GitLab at #{link_to "www.gitlab.com", "https://www.gitlab.com/", target: "_blank"}. Read more about GitLab at #{link_to "www.gitlab.com", "https://www.gitlab.com/", target: "_blank"}.
   
%hr
.row .row
.col-md-8
.documentation-index
= preserve do
- readme_text = File.read(Rails.root.join("doc", "README.md"))
- text = readme_text.dup
- readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") }
= markdown text
.col-md-4 .col-md-4
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
Loading
@@ -32,13 +42,3 @@
Loading
@@ -32,13 +42,3 @@
%li %li
Use Use
= link_to "shortcuts", '#', onclick: "new Shortcuts()" = link_to "shortcuts", '#', onclick: "new Shortcuts()"
.col-md-8
.panel.panel-default.documentation-index
.panel-heading Documentation
.panel-body
= preserve do
- readme_text = File.read(Rails.root.join("doc", "README.md"))
- text = readme_text.dup
- readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") }
= markdown text
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment