Skip to content

Commit

Permalink
exclude all 'Include file:' notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mcorino committed Jun 21, 2023
1 parent cb573b1 commit c27d195
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rakelib/lib/generate/doc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,12 @@ def para_to_doc(node)
para = node_to_doc(node)
# loose specific notes paragraphs
case para
when /\A(\<b\>)?wxPerl Note:/, # wxPerl note
/\A\s*Library:/ # Library note
when /\A(\<b\>)?wxPerl Note:/, # wxPerl note
/\A\s*Library:/, # Library note
/\A\s*Include\s+file:/ # Include file note
''
else
para.sub!(/Include\s+file:\s+\#include\s+\<[^>]+\>\s*\Z/, '')
if event_section?
case para
when /The following event handler macros redirect.*(\{.*})/
Expand Down

0 comments on commit c27d195

Please sign in to comment.