docs/lib/tasks/helper.rb
# Template methods:
# Methods that return chunks of Markdown for insertion into the document
Template methods:
Methods that return chunks of Markdown for insertion into the document
Template methods : Methods that return chunks of Markdown for insertion into the document
def render_full_field(field, heading_level: 3, owner: nil)
        conn = connection?(field)
        args = field[:arguments].reject { |arg| conn && CONNECTION_ARGS.include?(arg[:name]) }
        arg_owner = [owner, field[:name]]
        chunks = [
          render_name_and_description(field, level: heading_level, owner: owner),
          render_return_type(field),
          render_input_type(field),
          render_connection_note(field),
          render_argument_table(heading_level, args, arg_owner),
          render_return_fields(field)
        ]
        join(:block, chunks)
      end
def render_full_field ( field , heading_level : 3 , owner : nil ) conn = connection? ( field ) args = field [ :arguments ] . reject { | arg | conn && CONNECTION_ARGS . include? ( arg [ :name ] ) } arg_owner = [ owner , field [ :name ] ] chunks = [ render_name_and_description ( field , level : heading_level , owner : owner ) , render_return_type ( field ) , render_input_type ( field ) , render_connection_note ( field ) , render_argument_table ( heading_level , args , arg_owner ) , render_return_fields ( field ) ] join ( :block , chunks ) end
Template methods:
Methods that return chunks of Markdown for insertion into the document
Template methods : Methods that return chunks of Markdown for insertion into the document
field
<not_specific>
heading_level
<not_specific>
owner
<not_specific>