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
Kazuhiko Shiozaki
gitlab-ce
Commits
6a7990c0
Commit
6a7990c0
authored
Jun 14, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove garbage and apply wiki style
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
68e4df70
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
2 additions
and
156 deletions
+2
-156
app/controllers/help_controller.rb
app/controllers/help_controller.rb
+0
-11
app/views/help/_api_layout.html.haml
app/views/help/_api_layout.html.haml
+0
-13
app/views/help/_layout.html.haml
app/views/help/_layout.html.haml
+0
-6
app/views/help/api.html.haml
app/views/help/api.html.haml
+0
-14
app/views/help/markdown.html.haml
app/views/help/markdown.html.haml
+0
-6
app/views/help/permissions.html.haml
app/views/help/permissions.html.haml
+0
-6
app/views/help/public_access.html.haml
app/views/help/public_access.html.haml
+0
-6
app/views/help/raketasks.html.haml
app/views/help/raketasks.html.haml
+0
-52
app/views/help/security.html.haml
app/views/help/security.html.haml
+0
-15
app/views/help/show.html.haml
app/views/help/show.html.haml
+2
-3
app/views/help/ssh.html.haml
app/views/help/ssh.html.haml
+0
-6
app/views/help/system_hooks.html.haml
app/views/help/system_hooks.html.haml
+0
-6
app/views/help/web_hooks.html.haml
app/views/help/web_hooks.html.haml
+0
-6
app/views/help/workflow.html.haml
app/views/help/workflow.html.haml
+0
-6
No files found.
app/controllers/help_controller.rb
View file @
6a7990c0
...
@@ -2,17 +2,6 @@ class HelpController < ApplicationController
...
@@ -2,17 +2,6 @@ class HelpController < ApplicationController
def
index
def
index
end
end
def
api
@category
=
params
[
:category
]
@category
=
"README"
if
@category
.
blank?
if
File
.
exists?
(
Rails
.
root
.
join
(
'doc'
,
'api'
,
@category
+
'.md'
))
render
'api'
else
not_found!
end
end
def
show
def
show
@category
=
params
[
:category
]
@category
=
params
[
:category
]
@file
=
params
[
:file
]
@file
=
params
[
:file
]
...
...
app/views/help/_api_layout.html.haml
deleted
100644 → 0
View file @
68e4df70
.row
.col-md-3
.append-bottom-20
=
link_to
help_path
,
class:
'btn btn-small'
do
%i
.icon-angle-left
Back to help
%ul
.nav.nav-pills.nav-stacked
-
%w(README projects project_snippets repositories repository_files commits deploy_keys users groups session issues milestones merge_requests notes system_hooks)
.
each
do
|
file
|
%li
{
class:
file
==
@category
?
'active'
:
nil
}
=
link_to
file
.
titleize
,
help_api_file_path
(
file
)
.col-md-9.pull-right
=
yield
app/views/help/_layout.html.haml
deleted
100644 → 0
View file @
68e4df70
.row
.col-md-3
%h3
.page-title
Help
.col-md-9
.wiki
=
yield
app/views/help/api.html.haml
deleted
100644 → 0
View file @
68e4df70
=
render
layout:
'help/api_layout'
do
%h3
.page-title
%span
.light
API
%span
\/
=
@category
.
titleize
.file-holder
.file-title
%i
.icon-file
=
@category
.file-content.wiki
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"api"
,
"
#{
@category
}
.md"
))
app/views/help/markdown.html.haml
deleted
100644 → 0
View file @
68e4df70
=
render
layout:
'help/layout'
do
%h3
.page-title
GitLab Flavored Markdown
.help_body
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"markdown"
,
"markdown.md"
))
app/views/help/permissions.html.haml
deleted
100644 → 0
View file @
68e4df70
=
render
layout:
'help/layout'
do
%h3
.page-title
Permissions
.help_body
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"permissions"
,
"permissions.md"
))
app/views/help/public_access.html.haml
deleted
100644 → 0
View file @
68e4df70
=
render
layout:
'help/layout'
do
%h3
.page-title
Public Access
.help_body
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"public_access"
,
"public_access.md"
))
app/views/help/raketasks.html.haml
deleted
100644 → 0
View file @
68e4df70
=
render
layout:
'help/layout'
do
%h3
.page-title
GitLab Rake Tasks
%p
.slead
GitLab provides some specific rake tasks to enable special features or perform maintenance tasks.
%ul
.nav.nav-tabs.log-tabs
%li
.active
=
link_to
"Maintenance"
,
"#maintenance"
,
'data-toggle'
=>
'tab'
%li
=
link_to
"User Management"
,
"#user_management"
,
'data-toggle'
=>
'tab'
%li
=
link_to
"Backup & Restore"
,
"#backup_restore"
,
'data-toggle'
=>
'tab'
%li
=
link_to
"Cleanup"
,
"#cleanup"
,
'data-toggle'
=>
'tab'
.tab-content
.tab-pane.active
#maintenance
.file-holder
.file-title
%i
.icon-file
Maintenance
.file-content.wiki
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"raketasks"
,
"maintenance.md"
))
.tab-pane
#user_management
.file-holder
.file-title
%i
.icon-file
User Management
.file-content.wiki
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"raketasks"
,
"user_management.md"
))
.tab-pane
#cleanup
.file-holder
.file-title
%i
.icon-file
Cleanup
.file-content.wiki
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"raketasks"
,
"cleanup.md"
))
.tab-pane
#backup_restore
.file-holder
.file-title
%i
.icon-file
Backup
&
Restore
.file-content.wiki
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"raketasks"
,
"backup_restore.md"
))
app/views/help/security.html.haml
deleted
100644 → 0
View file @
68e4df70
=
render
layout:
'help/layout'
do
%h3
.page-title
Security
%p
.slead
If your GitLab instance is visible from the internet chances are it will be 'tested' by bots sooner or later.
%br
%br
%br
.file-holder
.file-title
%i
.icon-file
Dealing with bruteforcing
.file-content.wiki
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"security"
,
"rack_attack.md"
))
app/views/help/show.html.haml
View file @
6a7990c0
.col-md-12
.documentation.wiki
.documentation
=
markdown
File
.
read
(
Rails
.
root
.
join
(
'doc'
,
@category
,
@file
+
'.md'
))
=
markdown
File
.
read
(
Rails
.
root
.
join
(
'doc'
,
@category
,
@file
+
'.md'
))
app/views/help/ssh.html.haml
deleted
100644 → 0
View file @
68e4df70
=
render
layout:
'help/layout'
do
%h3
.page-title
SSH Keys
.help_body
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"ssh"
,
"ssh.md"
)).
gsub
(
"$your_email"
,
current_user
.
email
)
app/views/help/system_hooks.html.haml
deleted
100644 → 0
View file @
68e4df70
=
render
layout:
'help/layout'
do
%h3
.page-title
System hooks
.help_body
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"system_hooks"
,
"system_hooks.md"
))
app/views/help/web_hooks.html.haml
deleted
100644 → 0
View file @
68e4df70
=
render
layout:
'help/layout'
do
%h3
.page-title
Project web hooks
.help_body
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"web_hooks"
,
"web_hooks.md"
))
app/views/help/workflow.html.haml
deleted
100644 → 0
View file @
68e4df70
=
render
layout:
'help/layout'
do
%h3
.page-title
Workflow
.help_body
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"workflow"
,
"workflow.md"
))
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