@@ -56,12 +56,15 @@ def get_text(node):
56
56
('.//h1' , 'blah-blah' , False ),
57
57
(".//div[@class='highlight']//span" , 'usage' ),
58
58
('.//h2' , 'Positional Arguments' ),
59
- (".//section[@id='positional-arguments']" , '' ),
60
- (".//section[@id='positional-arguments']/dl/dt[1]/kbd" , 'foo2 metavar' ),
61
- (".//section[@id='named-arguments']" , '' ),
62
- (".//section[@id='named-arguments']/dl/dt[1]/kbd" , '--foo' ),
63
- (".//section[@id='bar-options']" , '' ),
64
- (".//section[@id='bar-options']/dl/dt[1]/kbd" , '--bar' ),
59
+ (".//section[@id='get_parser-positional-arguments']" , '' ),
60
+ (
61
+ ".//section[@id='get_parser-positional-arguments']/dl/dt[1]/kbd" ,
62
+ 'foo2 metavar' ,
63
+ ),
64
+ (".//section[@id='get_parser-named-arguments']" , '' ),
65
+ (".//section[@id='get_parser-named-arguments']/dl/dt[1]/kbd" , '--foo' ),
66
+ (".//section[@id='get_parser-bar-options']" , '' ),
67
+ (".//section[@id='get_parser-bar-options']/dl/dt[1]/kbd" , '--bar' ),
65
68
],
66
69
),
67
70
(
@@ -71,8 +74,8 @@ def get_text(node):
71
74
('.//h1' , 'Command A' ),
72
75
(".//div[@class='highlight']//span" , 'usage' ),
73
76
('.//h2' , 'Positional Arguments' ),
74
- (".//section[@id='positional-arguments']" , '' ),
75
- (".//section[@id='positional-arguments']/dl/dt[1]/kbd" , 'baz' ),
77
+ (".//section[@id='get_parser- positional-arguments']" , '' ),
78
+ (".//section[@id='get_parser- positional-arguments']/dl/dt[1]/kbd" , 'baz' ),
76
79
],
77
80
),
78
81
(
0 commit comments