Fixes the doc-diff: - Please see git-commit(1) for alternative ways to add content to a - commit. + Please see for alternative ways to add content to a commit. Comments-by: brian m. carlson <sandals@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx> --- Documentation/asciidoctor-extensions.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/asciidoctor-extensions.rb b/Documentation/asciidoctor-extensions.rb index b36317e4d2..6c4153f628 100644 --- a/Documentation/asciidoctor-extensions.rb +++ b/Documentation/asciidoctor-extensions.rb @@ -10,6 +10,8 @@ Asciidoctor::Extensions.register :git do elsif doc.basebackend? 'html' prefix = doc.attr('git-relative-html-prefix') format = %(<a href="#{prefix}%1$s.html">%1$s(%2$s)</a>) + elsif doc.basebackend? 'manpage' + format = "\e\\fB%s\e\\fP(%s)" elsif doc.basebackend? 'docbook' format = <<~EOF.chomp <citerefentry> -- 2.32.0