You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search: fix parsing of parameters inside sphinx domains (#9750)
We were removing all dl lists that were inside a domain
in order to remove nested domains, but in doing so we were
removing parameters (they are inside a dl list!).
Instead, let's reuse the method to detect sphinx domains.
Copy file name to clipboardExpand all lines: readthedocs/search/tests/data/sphinx/out/page.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,6 @@
40
40
],
41
41
"domain_data": {
42
42
"test_py_module.test.Foo": "Docstring for class Foo. This text tests for the formatting of docstrings generated from output sphinx.ext.autodoc.",
43
-
"test_py_module.test.Foo.__init__": "Start the Foo."
43
+
"test_py_module.test.Foo.__init__": "Start the Foo. Parameters: qux (string) – The first argument to initialize class. spam (bool) – Spam me yes or no…"
0 commit comments