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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
ffdd9a0f
Commit
ffdd9a0f
authored
Mar 22, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused method parameter
parent
4dc8f8cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/gitlab/graphql/docs/helper.rb
lib/gitlab/graphql/docs/helper.rb
+1
-1
lib/gitlab/graphql/docs/templates/default.md.haml
lib/gitlab/graphql/docs/templates/default.md.haml
+1
-1
No files found.
lib/gitlab/graphql/docs/helper.rb
View file @
ffdd9a0f
...
@@ -74,7 +74,7 @@ module Gitlab
...
@@ -74,7 +74,7 @@ module Gitlab
render_row
(
render_name
(
value
,
enum
[
:name
]),
render_description
(
value
,
enum
[
:name
],
:inline
))
render_row
(
render_name
(
value
,
enum
[
:name
]),
render_description
(
value
,
enum
[
:name
],
:inline
))
end
end
def
render_union_member
(
union
,
member
)
def
render_union_member
(
member
)
"- [`
#{
member
}
`](#
#{
member
.
downcase
}
)"
"- [`
#{
member
}
`](#
#{
member
.
downcase
}
)"
end
end
...
...
lib/gitlab/graphql/docs/templates/default.md.haml
View file @
ffdd9a0f
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
One of:
One of:
\
\
-
type
[
:possible_types
].
each
do
|
member
|
-
type
[
:possible_types
].
each
do
|
member
|
=
render_union_member
(
type
,
member
)
=
render_union_member
(
member
)
\
\
:plain
:plain
...
...
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