py domain: Allow to make a style for arguments of functions and methods (refs: #6417)

This commit is contained in:
Takeshi KOMIYA
2020-01-04 23:48:37 +09:00
parent 89c446eaf7
commit 50cf68e0d4
4 changed files with 71 additions and 40 deletions

View File

@@ -177,7 +177,8 @@ def test_html4_output(app, status, warning):
],
'autodoc.html': [
(".//dl[@class='py class']/dt[@id='autodoc-target-class']", ''),
(".//dl[@class='py function']/dt[@id='autodoc-target-function']/em", r'\*\*kwds'),
(".//dl[@class='py function']/dt[@id='autodoc-target-function']/em/span", r'\*\*'),
(".//dl[@class='py function']/dt[@id='autodoc-target-function']/em/span", r'kwds'),
(".//dd/p", r'Return spam\.'),
],
'extapi.html': [