Skip to content
Myr

Generate links in man page

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Some [foo](bar) links were added to manual.yml without updating build_manpage.py to make it generate roff for "a" tags. Fixes #2930

authored by Emanuele Torre · committed by Nico Williams · parent c10cbbf · Browse files · 2 files+7 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+7 added−2 removed

  • other:+7 added−2 removed

2 files+7 added−2 removed

modified:docs/build_manpage.py+3 added
84 unmodified lines
85 if last_tag not in ['h2', 'h3'] and parent_tag not in ['li']:86 self.__write_cmd('.P')87 self._write_element(root, ensure_newline=(parent_tag != 'li'))8889 elif root.tag == 'a':90 self._write_element(root, ensure_newline=(parent_tag != 'li'))9192 elif root.tag == 'ul':93 if self._ul_is_special(root):94 li = root[0]95 self.__write_cmd('.TP')
156 unmodified lines
modified:jq.1.prebuilt+4 added-2 removed
2736 unmodified lines
2737.2738.IP "" 02739.2740.SH "REGULAR EXPRESSIONS"2741jq uses the 2741jq uses the Oniguruma regular expression library, as do PHP, TextMate, Sublime Text, etc, so the description here will focus on jq specifics\.27422743.2744.P2744Oniguruma supports several flavors of regular expression, so it is important to know that jq uses the 2745Oniguruma supports several flavors of regular expression, so it is important to know that jq uses the "Perl NG" (Perl with named groups) flavor\.27462747.2748.P2749The jq regex filters are defined so that they can be used using one of these patterns:2750.
1381 unmodified lines