threads / discuss / 25647

The linkgit: Asciidoc macro broken (for some backends)?

Subject: The linkgit: Asciidoc macro broken (for some backends)?

## tl;dr

3 messages between Nov 4, 2010 and Nov 4, 2010.

replies: 2people: 2as markdown or json

Štěpán Němec· Nov 4, 2010, 22:10 UTC · lore

I noticed that even though all the links to gitrevisions(7) in the documentation sources point correctly to manual section 7 (where it belongs and is actually installed), the links are rendered in manpages as gitrevisions(1) (cf. e.g. git-diff(1)). The fact that the online docs have gitrevisions(7) would indicate that only some backends are broken (I can confirm the man backend at least). Could some Asciidoc wizard have a look at the macro definition in Documentation/asciidoc.conf?

  Štěpán
Jonathan Nieder· Nov 4, 2010, 22:23 UTC · re: Štěpán Němec · lore

Re: The linkgit: Asciidoc macro broken (for some backends)?

Hi Štěpán,
Štěpán Němec wrote:
> I noticed that even though all the links to gitrevisions(7) in the
> documentation sources point correctly to manual section 7 (where it
> belongs and is actually installed), the links are rendered in manpages
> as gitrevisions(1)

Probably your copy of the reference manual precedes v1.7.3.2~12 (Documentation: gitrevisions is in section 7, 2010-10-11).

Hope that helps, Jonathan

Štěpán Němec· Nov 4, 2010, 22:49 UTC · re: Jonathan Nieder · lore

Re: The linkgit: Asciidoc macro broken (for some backends)?

Jonathan Nieder <jrnieder@gmail.com> writes:
Show 7 quoted lines
>> I noticed that even though all the links to gitrevisions(7) in the
>> documentation sources point correctly to manual section 7 (where it
>> belongs and is actually installed), the links are rendered in manpages
>> as gitrevisions(1)
>
> Probably your copy of the reference manual precedes v1.7.3.2~12 (Documentation:
> gitrevisions is in section 7, 2010-10-11).

Ah, so it _is_ a PEBKAC after all... I was wondering :-) Thank you and sorry for the noise.

Štěpán

← back to recent threads