title: Markup ending without empty line. But markup is only thing in comment
body: <p>When documenting my python code I have a decorator to mark functions deprecated that also updates the docstring. This works fine if the function has documentation but when it doesn't sphinx complains and the documentation for <code>deprecated</code> does not look correct.</p>
  
  <p>I have narrowed the problem down to the equivalent code:</p>
  
  <pre><code>def func():
      """.. deprecated:: 0.1.0
    Please use :func:`func_new`
  
      """
  </code></pre>
  
  <p>These are all variations I have tried without success:</p>
  
  <pre><code>def func():
      """.. deprecated:: 0.1.0
      Please use :func:`func_new`
  
      """
  
  def func():
      """
      .. deprecated:: 0.1.0
          Please use :func:`func_new`
  
      """
  </code></pre>
  
  <p>In this case Sphinx complains with <code>WARNING: Explicit markup ends without a blank line; unexpected unindent.</code>. It does not matter how many empty lines I have at the end or if the lines have some spaces in front of it.</p>
  
  <p>I would not care about the warning if the documentation was ok but instead of producing</p>
  
  <pre><code>Module.func():
      Deprecated since version 0.1.0: Please use :func:`func_new`
  </code></pre>
  
  <p>the output is </p>
  
  <pre><code>Module.func():
      Deprecated since version 0.1.0.
  
      Please use :func:`func_new`
  </code></pre>
  
  <p>How can I fix this without having to add any (visible) text to the docstring?</p>