We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df37ef0 commit e110b2cCopy full SHA for e110b2c
1 file changed
lib/docs/filters/phpunit/entries.rb
@@ -19,7 +19,7 @@ def additional_entries
19
return [] if type == 'Guides'
20
21
css('h3').map do |node|
22
- [node.content.gsub('The ', ''), node['id']]
+ [node.content.gsub('The ', ''), node['id'] || node.ancestors('section[id]').first['id']]
23
end
24
25
0 commit comments