BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
be1b4080
Commit
be1b4080
authored
Jul 06, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Api page in help
parent
6451e837
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
79 additions
and
0 deletions
+79
-0
gitlab_bootstrap.scss
app/assets/stylesheets/gitlab_bootstrap.scss
+34
-0
api.html.haml
app/views/help/api.html.haml
+41
-0
index.html.haml
app/views/help/index.html.haml
+3
-0
routes.rb
config/routes.rb
+1
-0
No files found.
app/assets/stylesheets/gitlab_bootstrap.scss
View file @
be1b4080
...
...
@@ -634,3 +634,37 @@ pre.logs {
line-height
:
18px
;
}
}
/**
* File content holder
*
*/
.file_holder
{
border
:
1px
solid
#CCC
;
margin-bottom
:
1em
;
-moz-box-shadow
:
0
0
3px
#ddd
;
-webkit-box-shadow
:
0
0
3px
#ddd
;
box-shadow
:
0
0
3px
#ddd
;
.file_title
{
border-bottom
:
1px
solid
#bbb
;
background
:
#eee
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
30
,
color-stop
(
0
.066
,
#eee
)
,
to
(
#dfdfdf
));
background-image
:
-webkit-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-moz-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
margin
:
0
;
font-weight
:
normal
;
font-weight
:
bold
;
text-align
:
left
;
color
:
#666
;
padding
:
9px
10px
;
height
:
18px
;
}
.file_content
{
&
.wiki
{
padding
:
20px
;
}
}
}
app/views/help/api.html.haml
0 → 100644
View file @
be1b4080
%h3
API
.back_link
=
link_to
help_path
do
←
to index
%hr
%ol
%li
%a
{
:href
=>
"#README"
}
README
%li
%a
{
:href
=>
"#Projects"
}
Projects
%li
%a
{
:href
=>
"#Users"
}
Users
.file_holder
#README
.file_title
%i
.icon-file
README
.file_content.wiki
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"api"
,
"README.md"
))
%br
.file_holder
#projects
.file_title
%i
.icon-file
Projects
.file_content.wiki
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"api"
,
"projects.md"
))
%br
.file_holder
#users
.file_title
%i
.icon-file
Users
.file_content.wiki
=
preserve
do
=
markdown
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"api"
,
"users.md"
))
app/views/help/index.html.haml
View file @
be1b4080
...
...
@@ -22,3 +22,6 @@
%li
%h5
=
link_to
"Web Hooks"
,
help_web_hooks_path
%li
%h5
=
link_to
"API"
,
help_api_path
config/routes.rb
View file @
be1b4080
...
...
@@ -26,6 +26,7 @@ Gitlab::Application.routes.draw do
get
'help'
=>
'help#index'
get
'help/permissions'
=>
'help#permissions'
get
'help/workflow'
=>
'help#workflow'
get
'help/api'
=>
'help#api'
get
'help/web_hooks'
=>
'help#web_hooks'
#
...
...
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