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
75405677
Commit
75405677
authored
Oct 16, 2019
by
Evan Read
Committed by
Russell Dickenson
Oct 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes to new rake tasks content
parent
3ca122fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/development/rake_tasks.md
doc/development/rake_tasks.md
+3
-3
No files found.
doc/development/rake_tasks.md
View file @
75405677
...
...
@@ -232,7 +232,7 @@ bundle exec rake gitlab:graphql:compile_docs
In its current state, the rake task:
-
Generates output for GraphQL objects.
-
Places the output at
`doc
s
/api/graphql/reference/index.md`
.
-
Places the output at
`doc/api/graphql/reference/index.md`
.
This uses some features from
`graphql-docs`
gem like its schema parser and helper methods.
The docs generator code comes from our side giving us more flexibility, like using Haml templates and generating Markdown files.
...
...
@@ -241,5 +241,5 @@ To edit the template used, please take a look at `lib/gitlab/graphql/docs/templa
The actual renderer is at
`Gitlab::Graphql::Docs::Renderer`
.
`@parsed_schema`
is an instance variable that the
`graphql-docs`
gem expects to have available.
`Gitlab::Graphql::Docs::Helper`
defines the
`object`
method we currently use. This is also where you
should implement any
new methods for new types you'd like to display.
`Gitlab::Graphql::Docs::Helper`
defines the
`object`
method we currently use. This is also where you
should implement any
new methods for new types you'd like to display.
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