C, recursive alias declarations

Fixes sphinx-doc/sphinx#8141
This commit is contained in:
Jakob Lykke Andersen
2020-09-13 16:25:09 +02:00
parent 1d0b424898
commit 500f45fd4c
3 changed files with 65 additions and 19 deletions

View File

@@ -744,6 +744,18 @@ The following directive can be used for this purpose.
.. versionadded:: 3.2
.. rubric:: Options
.. rst:directive:option:: maxdepth: int
Insert nested declarations as well, up to the total depth given.
Use 0 for infinite depth and 1 for just the mentioned declaration.
Defaults to 1.
.. versionadded:: 3.3
.. c:namespace-pop::