|
19 | 19 | (".//div[@class='highlight']//span", 'usage'), |
20 | 20 | ('.//h2', 'Positional Arguments'), |
21 | 21 |
|
22 | | - (".//section[@id='get_parser-positional-arguments']", ''), |
| 22 | + (".//section[@id='sample-directive-opts-positional-arguments']", ''), |
| 23 | + (".//section/span[@id='get_parser-positional-arguments']", ''), |
23 | 24 | ( |
24 | | - ".//section[@id='get_parser-positional-arguments']/dl/dt[1]/kbd", |
| 25 | + ".//section[@id='sample-directive-opts-positional-arguments']/dl/dt[1]/kbd", |
25 | 26 | 'foo2 metavar', |
26 | 27 | ), |
27 | | - (".//section[@id='get_parser-named-arguments']", ''), |
28 | | - (".//section[@id='get_parser-named-arguments']/dl/dt[1]/kbd", '--foo'), |
29 | | - (".//section[@id='get_parser-bar-options']", ''), |
30 | | - (".//section[@id='get_parser-bar-options']/dl/dt[1]/kbd", '--bar'), |
| 28 | + (".//section[@id='sample-directive-opts-named-arguments']", ''), |
| 29 | + (".//section/span[@id='get_parser-named-arguments']", ''), |
| 30 | + (".//section[@id='sample-directive-opts-named-arguments']/dl/dt[1]/kbd", '--foo'), |
| 31 | + (".//section[@id='sample-directive-opts-bar-options']", ''), |
| 32 | + (".//section/span[@id='get_parser-bar-options']", ''), |
| 33 | + (".//section[@id='sample-directive-opts-bar-options']/dl/dt[1]/kbd", '--bar'), |
31 | 34 | ], |
32 | 35 | ), |
33 | 36 | ( |
|
37 | 40 | ('.//h1', 'Command A'), |
38 | 41 | (".//div[@class='highlight']//span", 'usage'), |
39 | 42 | ('.//h2', 'Positional Arguments'), |
40 | | - (".//section[@id='get_parser-positional-arguments']", ''), |
41 | | - (".//section[@id='get_parser-positional-arguments']/dl/dt[1]/kbd", 'baz'), |
| 43 | + (".//section[@id='sample-directive-opts-A-positional-arguments']", ''), |
| 44 | + (".//section/span[@id='get_parser-positional-arguments']", ''), |
| 45 | + (".//section[@id='sample-directive-opts-A-positional-arguments']/dl/dt[1]/kbd", 'baz'), |
42 | 46 | ], |
43 | 47 | ), |
44 | 48 | ( |
|
0 commit comments