Documentation: implement linkgit macro for Asciidoctor
commit55d2d812e49aece049b73682ad5980ea84e23839
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 26 Jan 2017 00:13:44 +0000 (26 00:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Jan 2017 20:18:18 +0000 (31 12:18 -0800)
tree7ce2c800db0fc5755a773cee45b7c7f82588c5ee
parentec3366eb52caad29e4cfb0a0afb605c450ad5a39
Documentation: implement linkgit macro for Asciidoctor

AsciiDoc uses a configuration file to implement macros like linkgit,
while Asciidoctor uses Ruby extensions.  Implement a Ruby extension that
implements the linkgit macro for Asciidoctor in the same way that
asciidoc.conf does for AsciiDoc.  Adjust the Makefile to use it by
default.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/Makefile
Documentation/asciidoctor-extensions.rb [new file with mode: 0644]