Fix help page UI
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
a76bf07ae2
commit
248a3e5688
2 changed files with 11 additions and 9 deletions
|
@ -1,10 +1,12 @@
|
||||||
.documentation {
|
.documentation {
|
||||||
padding-bottom: 10px;
|
h1 {
|
||||||
p {
|
|
||||||
padding: 10px 14px;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
color: #888;
|
color: #888;
|
||||||
|
|
|
@ -36,9 +36,9 @@
|
||||||
.col-md-8
|
.col-md-8
|
||||||
.panel.panel-default.documentation
|
.panel.panel-default.documentation
|
||||||
.panel-heading Documentation
|
.panel-heading Documentation
|
||||||
|
.panel-body
|
||||||
= preserve do
|
= preserve do
|
||||||
- readme_text = File.read(Rails.root.join("doc", "README.md"))
|
- readme_text = File.read(Rails.root.join("doc", "README.md"))
|
||||||
- text = readme_text.dup
|
- text = readme_text.dup
|
||||||
- readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") }
|
- readme_text.scan(/\]\(([^(]+)\)/) { |match| text.gsub!(match.first, "help/#{match.first}") }
|
||||||
= markdown text
|
= markdown text
|
||||||
|
|
Loading…
Reference in a new issue