While DOC: section titles are not converted into RST headings sections and are only decorated with strong emphasis markup, nothing stops us from generating internal hyperlinks for them, to mimic implicit hyperlinks to RST headings.
Unified · Split
| @@ -836,6 +836,7 @@ sub output_blockhead_rst(%) { · 835 unmodified lines | |||
| 836 | next if (defined($nosymbol_table{$section})); | 836 | next if (defined($nosymbol_table{$section})); |
| 837 | 837 | ||
| 838 | if ($output_selection != OUTPUT_INCLUDE) { | 838 | if ($output_selection != OUTPUT_INCLUDE) { |
| 839 | print ".. _$section:\n\n"; | ||
| 839 | print "**$section**\n\n"; | 840 | print "**$section**\n\n"; |
| 840 | } | 841 | } |
| 841 | print_lineno($section_start_lines{$section}); | 842 | print_lineno($section_start_lines{$section}); |