]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
manual-text: make sure URLs are displayed if a link text was provided
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Fri, 15 Aug 2014 13:40:37 +0000 (15:40 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 16 Aug 2014 07:29:59 +0000 (09:29 +0200)
commit67274a9b6ffbb6266e253746bb257847e48e5566
treee2f7bd21a49c6cdbb5e8024c258158f0f03a7ccf
parent05fa99d03c8f5207efb4ae30846a07f01519965a
manual-text: make sure URLs are displayed if a link text was provided

When the asciidoc source contain URLs of the form:
    http://example.com[An example website]
the text representation of the manual would only contain:
    An example website
without displaying the actual URL.

This patch adds an asciidoc configuration file that sets the inline macros
for several URL types so that the display becomes:
    An example website [http://example.com]
For URLs where no link text was provided, the display becomes:
    http://example.com
which is the same as before.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
docs/manual/asciidoc-text.conf [new file with mode: 0644]