Commit f3f4904f authored by lauraMon's avatar lauraMon

Updates template to include connnection fields

* Generates docs with connection fields
parent 40348efe
This diff is collapsed.
......@@ -30,11 +30,12 @@
\
- objects.each do |type|
- unless type[:fields].empty?
- all_fields = type[:fields] + type[:connections]
- unless all_fields.empty?
= render_name_and_description(type)
~ "| Field | Type | Description |"
~ "| ----- | ---- | ----------- |"
- sorted_by_name(type[:fields]).each do |field|
- sorted_by_name(all_fields).each do |field|
= render_field(field)
\
......
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