summaryrefslogtreecommitdiff
path: root/tests/roots/test-domain-cpp-cpp_maximum_signature_line_length
diff options
context:
space:
mode:
authorTLouf <31036680+TLouf@users.noreply.github.com>2023-05-11 15:28:57 +0200
committerGitHub <noreply@github.com>2023-05-11 14:28:57 +0100
commit86b07d4a97a225e79150d14e25a768ebc4c087cc (patch)
tree2c0c8691fff120604b9071cb24019ed1d49986a6 /tests/roots/test-domain-cpp-cpp_maximum_signature_line_length
parentc73628dfcac844f89198ccd805e8e35609b37636 (diff)
downloadsphinx-git-86b07d4a97a225e79150d14e25a768ebc4c087cc.tar.gz
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>
Diffstat (limited to 'tests/roots/test-domain-cpp-cpp_maximum_signature_line_length')
-rw-r--r--tests/roots/test-domain-cpp-cpp_maximum_signature_line_length/conf.py1
-rw-r--r--tests/roots/test-domain-cpp-cpp_maximum_signature_line_length/index.rst4
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/roots/test-domain-cpp-cpp_maximum_signature_line_length/conf.py b/tests/roots/test-domain-cpp-cpp_maximum_signature_line_length/conf.py
new file mode 100644
index 000000000..1eb3a64bf
--- /dev/null
+++ b/tests/roots/test-domain-cpp-cpp_maximum_signature_line_length/conf.py
@@ -0,0 +1 @@
+cpp_maximum_signature_line_length = len("str hello(str name)") - 1
diff --git a/tests/roots/test-domain-cpp-cpp_maximum_signature_line_length/index.rst b/tests/roots/test-domain-cpp-cpp_maximum_signature_line_length/index.rst
new file mode 100644
index 000000000..425908cb9
--- /dev/null
+++ b/tests/roots/test-domain-cpp-cpp_maximum_signature_line_length/index.rst
@@ -0,0 +1,4 @@
+domain-cpp-cpp_maximum_signature_line_length
+============================================
+
+.. cpp:function:: str hello(str name)