# Test that the short description is the whole first paragraph.
=== input
Return the :class:`Foo` for
:meth:`bar` calls.

More text.

:param x: The x.
=== parse rest
short_description: |
  Return the :class:`Foo` for
  :meth:`bar` calls.
long_description: 'More text.'
blank_after_short_description: True
blank_after_long_description: True
style: rest
- DocstringParam
  description: 'The x.'
  kind: param
  key: 'param'
  arg_name: 'x'
  is_optional: False
=== compose rest
Return the :class:`Foo` for
:meth:`bar` calls.

More text.

:param x: The x.
