File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1464,6 +1464,7 @@ Macros
1464
1464
``\sphinxtermref ``; ``\emph{#1} ``
1465
1465
``\sphinxsamedocref ``; ``\emph{#1} ``
1466
1466
``\sphinxparam ``; ``\emph{#1} ``
1467
+ ``\sphinxtypeparam ``; ``\emph{#1} ``
1467
1468
``\sphinxoptional ``; ``[#1] `` with larger brackets, see source
1468
1469
1469
1470
.. versionadded :: 1.4.5
@@ -1485,6 +1486,12 @@ Macros
1485
1486
signatures (see :confval: `maximum_signature_line_length `). It defaults
1486
1487
to ``\texttt{,} `` to make these end-of-line separators more distinctive.
1487
1488
1489
+ .. versionadded :: 7.2.0
1490
+ Signatures of Python functions are rendered as ``name<space>(parameters) ``
1491
+ or ``name<space>[type parameters]<space>(parameters) `` (see :pep: `695 `)
1492
+ where the length of ``<space> `` (``0pt `` by default) can be changed via
1493
+ ``\renewcommand{\sphinxsignaturelistskip}{1em} `` .
1494
+
1488
1495
- More text styling:
1489
1496
1490
1497
.. csv-table ::
You can’t perform that action at this time.
0 commit comments