readthedocs / sphinxcontrib-dotnetdomain

A Sphinx domain for .NET languages
MIT License
15 stars 17 forks source link

Unexpected unindent warnings #55

Closed danroth27 closed 8 years ago

danroth27 commented 8 years ago

When I try to generate API ref docs with the latest autoapi code, I’m seeing a lot of warnings that look like this:

C:\Users\daroth\Documents\GitHub\apidocs\docs\autoapi\Microsoft\Extensions\Configuration\CommandLine\CommandLineConfigurationProvider\index.rst:116: WARNING: Explicit markup ends without a blank line; unexpected unindent.
C:\Users\daroth\Documents\GitHub\apidocs\docs\autoapi\Microsoft\Extensions\Configuration\CommandLine\CommandLineConfigurationProvider\index.rst:118: WARNING: Definition list ends without a blank line; unexpected unindent.
        :rtype: System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable`1>{System.String<System.String>}

        .. code-block:: csharp

           protected IEnumerable<string> Args
    {
        get;
    }
agjohnson commented 8 years ago

I was able to replicate this earlier, it was indeed just a template indentation issue. Addressed with rtfd/sphinx-autoapi#67.