Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
248a3e56
Commit
248a3e56
authored
Jun 05, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix help page UI
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
a76bf07a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
app/assets/stylesheets/sections/help.scss
app/assets/stylesheets/sections/help.scss
+5
-3
app/views/help/index.html.haml
app/views/help/index.html.haml
+6
-6
No files found.
app/assets/stylesheets/sections/help.scss
View file @
248a3e56
.documentation
{
padding-bottom
:
10px
;
p
{
padding
:
10px
14px
;
h1
{
margin
:
0
;
}
h2
{
font-size
:
20px
;
}
li
{
line-height
:
24px
;
color
:
#888
;
...
...
app/views/help/index.html.haml
View file @
248a3e56
...
...
@@ -36,9 +36,9 @@
.col-md-8
.panel.panel-default.documentation
.panel-heading
Documentation
=
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
.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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment