@@ -56,12 +56,12 @@ 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
+ (".//section[@id='get_parser- positional-arguments']/dl/dt[1]/kbd" , 'foo2 metavar' ),
61
+ (".//section[@id='get_parser- named-arguments']" , '' ),
62
+ (".//section[@id='get_parser- named-arguments']/dl/dt[1]/kbd" , '--foo' ),
63
+ (".//section[@id='get_parser- bar-options']" , '' ),
64
+ (".//section[@id='get_parser- bar-options']/dl/dt[1]/kbd" , '--bar' ),
65
65
],
66
66
),
67
67
(
@@ -71,8 +71,8 @@ def get_text(node):
71
71
('.//h1' , 'Command A' ),
72
72
(".//div[@class='highlight']//span" , 'usage' ),
73
73
('.//h2' , 'Positional Arguments' ),
74
- (".//section[@id='positional-arguments']" , '' ),
75
- (".//section[@id='positional-arguments']/dl/dt[1]/kbd" , 'baz' ),
74
+ (".//section[@id='get_parser- positional-arguments']" , '' ),
75
+ (".//section[@id='get_parser- positional-arguments']/dl/dt[1]/kbd" , 'baz' ),
76
76
],
77
77
),
78
78
(
0 commit comments