Allow multi-line object description signatures (#11011)

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com>
Co-authored-by: TLouf <loufthomas@gmail.com>
This commit is contained in:
TLouf
2023-05-11 15:28:57 +02:00
committed by GitHub
parent c73628dfca
commit 86b07d4a97
30 changed files with 1635 additions and 43 deletions

View File

@@ -0,0 +1 @@
c_maximum_signature_line_length = len("str hello(str name)") - 1

View File

@@ -0,0 +1,4 @@
domain-c-c_maximum_signature_line_length
========================================
.. c:function:: str hello(str name)

View File

@@ -0,0 +1 @@
cpp_maximum_signature_line_length = len("str hello(str name)") - 1

View File

@@ -0,0 +1,4 @@
domain-cpp-cpp_maximum_signature_line_length
============================================
.. cpp:function:: str hello(str name)

View File

@@ -0,0 +1 @@
javascript_maximum_signature_line_length = 1

View File

@@ -0,0 +1,6 @@
domain-js-maximum_signature_line_length
=======================================
.. js:function:: hello(name)
.. js:function:: foo([a, [b, ]]c, d[, e, f])

View File

@@ -0,0 +1 @@
python_maximum_signature_line_length = 1

View File

@@ -0,0 +1,6 @@
domain-py-maximum_signature_line_length
=======================================
.. py:function:: hello(name: str) -> str
.. py:function:: foo([a, [b, ]]c, d[, e, f])