Commit f92b1cb0 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'fix-services-doc-generation' into 'master'

Fix `rake services:doc` generation

From: https://github.com/gitlabhq/gitlabhq/pull/9604#issuecomment-137539926

See merge request !1243
parents 996f5155 a7304432
......@@ -27,3 +27,9 @@ You can find results under the `doc/code` directory.
```
bundle exec rake gitlab:generate_docs
```
## Generate API documentation for project services (e.g. Slack)
```
bundle exec rake services:doc
```
......@@ -44,7 +44,7 @@ DELETE /projects/:id/services/<%= service[:dashed_name] %>
ERB
namespace :services do
task :doc do
task doc: :environment do
services = Service.available_services_names.map do |s|
service_start = Time.now
klass = "#{s}_service".classify.constantize
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment