C++, add recursiveness to alias

Fixes sphinx-doc/sphinx#8213 in the most basic way.
This commit is contained in:
Jakob Lykke Andersen
2021-01-17 13:46:35 +01:00
parent de1cd95a75
commit d0a4d0147e
3 changed files with 62 additions and 7 deletions

View File

@@ -1179,6 +1179,17 @@ The following directive can be used for this purpose.
.. versionadded:: 2.0
.. 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.5
Constrained Templates
~~~~~~~~~~~~~~~~~~~~~