docs: always define git-relative-html-prefix attribute
commit60475183c0fe76eab2a12fdf840caa0a29217886
authorJeff King <peff@peff.net>
Thu, 21 Jun 2012 06:24:10 +0000 (21 02:24 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Jun 2012 06:35:08 +0000 (20 23:35 -0700)
tree7f6526f189ad75e3246e825cee0c5c25cd182dad
parentd28436736a078a429213003a9472e8caeb86c286
docs: always define git-relative-html-prefix attribute

Commit fe77b41 introduced a new attribute to let the linkgit macro
create cross-directory HTML references from the technical/ and howto/
subdirectories back to the main documentation. We define that attribute
to "../" on the command-line when building inside those subdirectories,
and otherwise leave it unset under the assumption that it would default
to being blank.  Instead, asciidoc omits the link entirely, leading to
broken documentation. Fix this by defining git-relative-html-prefix to
blank in asciidoc.conf (and an instance on the command-line, when
present, will override it).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/asciidoc.conf