mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-06 09:20:27 +00:00
Merge pull request #67 from rtfd/dotnet-code-example-indent
Fix indentation on code block in .NET template
This commit is contained in:
commit
72a888edde
@ -45,7 +45,7 @@ Syntax
|
||||
|
||||
.. code-block:: csharp
|
||||
|
||||
{{ obj.example }}
|
||||
{{ obj.example|indent(4) }}
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
1122
tests/fixtures/dotnet.json
vendored
1122
tests/fixtures/dotnet.json
vendored
File diff suppressed because it is too large
Load Diff
@ -89,8 +89,8 @@ class DotNetTests(LanguageIntegrationTests):
|
||||
def test_integration(self):
|
||||
self._run_test(
|
||||
'dotnetexample',
|
||||
'_build/text/autoapi/Microsoft/AspNet/JsonPatch/Adapters/IObjectAdapter-TModel/index.txt',
|
||||
'Defines the operations that can be performed on a JSON patch document.'
|
||||
'_build/text/autoapi/Microsoft/AspNet/Identity/IUserStore-TUser/index.txt',
|
||||
'Provides an abstraction for a store which manages user accounts.'
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user