git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
a678704e17bfdbe2652a23e856a3a4767e69737a blob 757 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
require 'asciidoctor/extensions'

Asciidoctor::Extensions.register do

  doc = document

  inline_macro :linkgit do
    if doc.doctype == 'book'
      process do |parent, target, attrs|
        "<ulink url=\"#{target}.html\">" \
        "#{target}(#{attrs[1]})</ulink>"
      end
    elsif doc.basebackend? 'html'
      prefix = doc.attr('git-relative-html-prefix')
      process do |parent, target, attrs|
        %(<a href="#{prefix}#{target}.html">#{target}(#{attrs[1]})</a>)
      end
    elsif doc.basebackend? 'docbook'
      process do |parent, target, attrs|
        "<citerefentry>\n" \
          "<refentrytitle>#{target}</refentrytitle>" \
          "<manvolnum>#{attrs[1]}</manvolnum>\n" \
        "</citerefentry>"
      end
    end
  end

end
debug log:

solving a678704e17 ...
found a678704e17 in https://public-inbox.org/git/20210515115653.922902-10-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210608090026.1737348-10-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210525104802.158336-10-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210521223701.526547-10-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210621163110.1074145-10-felipe.contreras@gmail.com/
found c77b6de350 in https://public-inbox.org/git/20210515115653.922902-9-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210608090026.1737348-9-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210525104802.158336-9-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210521223701.526547-9-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210621163110.1074145-9-felipe.contreras@gmail.com/
found f998a42249 in https://public-inbox.org/git/20210515115653.922902-8-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210608090026.1737348-8-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210525104802.158336-8-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210521223701.526547-8-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210621163110.1074145-8-felipe.contreras@gmail.com/
found 3dea106d00 in https://public-inbox.org/git/20210608090026.1737348-7-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210525104802.158336-7-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210521223701.526547-7-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210515115653.922902-7-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210621163110.1074145-7-felipe.contreras@gmail.com/
found 423450392d in https://public-inbox.org/git/20210515115653.922902-6-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210608090026.1737348-6-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210525104802.158336-6-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210521223701.526547-6-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210621163110.1074145-6-felipe.contreras@gmail.com/
found 70a0956663 in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100644 70a09566630ce07317fd1928bce126300e0b5dc8	Documentation/asciidoctor-extensions.rb

applying [1/25] https://public-inbox.org/git/20210515115653.922902-6-felipe.contreras@gmail.com/
diff --git a/Documentation/asciidoctor-extensions.rb b/Documentation/asciidoctor-extensions.rb
index 70a0956663..423450392d 100644

Checking patch Documentation/asciidoctor-extensions.rb...
Applied patch Documentation/asciidoctor-extensions.rb cleanly.

skipping https://public-inbox.org/git/20210608090026.1737348-6-felipe.contreras@gmail.com/ for 423450392d
skipping https://public-inbox.org/git/20210525104802.158336-6-felipe.contreras@gmail.com/ for 423450392d
skipping https://public-inbox.org/git/20210521223701.526547-6-felipe.contreras@gmail.com/ for 423450392d
skipping https://public-inbox.org/git/20210621163110.1074145-6-felipe.contreras@gmail.com/ for 423450392d
index at:
100644 423450392d24c70dafe3f412df1004d098c7a847	Documentation/asciidoctor-extensions.rb

applying [2/25] https://public-inbox.org/git/20210608090026.1737348-7-felipe.contreras@gmail.com/
diff --git a/Documentation/asciidoctor-extensions.rb b/Documentation/asciidoctor-extensions.rb
index 423450392d..3dea106d00 100644

Checking patch Documentation/asciidoctor-extensions.rb...
Applied patch Documentation/asciidoctor-extensions.rb cleanly.

skipping https://public-inbox.org/git/20210525104802.158336-7-felipe.contreras@gmail.com/ for 3dea106d00
skipping https://public-inbox.org/git/20210521223701.526547-7-felipe.contreras@gmail.com/ for 3dea106d00
skipping https://public-inbox.org/git/20210515115653.922902-7-felipe.contreras@gmail.com/ for 3dea106d00
skipping https://public-inbox.org/git/20210621163110.1074145-7-felipe.contreras@gmail.com/ for 3dea106d00
index at:
100644 3dea106d00385ee51649647d5fc5321d45249ec2	Documentation/asciidoctor-extensions.rb

applying [3/25] https://public-inbox.org/git/20210515115653.922902-8-felipe.contreras@gmail.com/
diff --git a/Documentation/asciidoctor-extensions.rb b/Documentation/asciidoctor-extensions.rb
index 3dea106d00..f998a42249 100644

Checking patch Documentation/asciidoctor-extensions.rb...
Applied patch Documentation/asciidoctor-extensions.rb cleanly.

skipping https://public-inbox.org/git/20210608090026.1737348-8-felipe.contreras@gmail.com/ for f998a42249
skipping https://public-inbox.org/git/20210525104802.158336-8-felipe.contreras@gmail.com/ for f998a42249
skipping https://public-inbox.org/git/20210521223701.526547-8-felipe.contreras@gmail.com/ for f998a42249
skipping https://public-inbox.org/git/20210621163110.1074145-8-felipe.contreras@gmail.com/ for f998a42249
index at:
100644 f998a42249a0e6e04243377edafc634d47ed5d5f	Documentation/asciidoctor-extensions.rb

applying [4/25] https://public-inbox.org/git/20210515115653.922902-9-felipe.contreras@gmail.com/
diff --git a/Documentation/asciidoctor-extensions.rb b/Documentation/asciidoctor-extensions.rb
index f998a42249..c77b6de350 100644

Checking patch Documentation/asciidoctor-extensions.rb...
Applied patch Documentation/asciidoctor-extensions.rb cleanly.

skipping https://public-inbox.org/git/20210608090026.1737348-9-felipe.contreras@gmail.com/ for c77b6de350
skipping https://public-inbox.org/git/20210525104802.158336-9-felipe.contreras@gmail.com/ for c77b6de350
skipping https://public-inbox.org/git/20210521223701.526547-9-felipe.contreras@gmail.com/ for c77b6de350
skipping https://public-inbox.org/git/20210621163110.1074145-9-felipe.contreras@gmail.com/ for c77b6de350
index at:
100644 c77b6de350d83fcdc5138be0c5193d34557d2b4e	Documentation/asciidoctor-extensions.rb

applying [5/25] https://public-inbox.org/git/20210515115653.922902-10-felipe.contreras@gmail.com/
diff --git a/Documentation/asciidoctor-extensions.rb b/Documentation/asciidoctor-extensions.rb
index c77b6de350..a678704e17 100644

Checking patch Documentation/asciidoctor-extensions.rb...
Applied patch Documentation/asciidoctor-extensions.rb cleanly.

skipping https://public-inbox.org/git/20210608090026.1737348-10-felipe.contreras@gmail.com/ for a678704e17
skipping https://public-inbox.org/git/20210525104802.158336-10-felipe.contreras@gmail.com/ for a678704e17
skipping https://public-inbox.org/git/20210521223701.526547-10-felipe.contreras@gmail.com/ for a678704e17
skipping https://public-inbox.org/git/20210621163110.1074145-10-felipe.contreras@gmail.com/ for a678704e17
index at:
100644 a678704e17bfdbe2652a23e856a3a4767e69737a	Documentation/asciidoctor-extensions.rb

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).