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>
1 file changed
tree: 7f6526f189ad75e3246e825cee0c5c25cd182dad
  1. .gitattributes
  2. .gitignore
  3. .mailmap
  4. COPYING
  5. Documentation/
  6. GIT-VERSION-GEN
  7. INSTALL
  8. LGPL-2.1
  9. Makefile
  10. README
  11. abspath.c
  12. aclocal.m4
  13. advice.c
  14. advice.h
  15. alias.c
  16. alloc.c
  17. archive-tar.c
  18. archive-zip.c
  19. archive.c
  20. archive.h
  21. argv-array.c
  22. argv-array.h
  23. attr.c
  24. attr.h
  25. base85.c
  26. bisect.c
  27. bisect.h
  28. blob.c
  29. blob.h
  30. block-sha1/
  31. branch.c
  32. branch.h
  33. builtin.h
  34. builtin/
  35. bulk-checkin.c
  36. bulk-checkin.h
  37. bundle.c
  38. bundle.h
  39. cache-tree.c
  40. cache-tree.h
  41. cache.h
  42. check-builtins.sh
  43. check-racy.c
  44. check_bindir
  45. color.c
  46. color.h
  47. column.c
  48. column.h
  49. combine-diff.c
  50. command-list.txt
  51. commit.c
  52. commit.h
  53. compat/
  54. config.c
  55. config.mak.in
  56. configure.ac
  57. connect.c
  58. connected.c
  59. connected.h
  60. contrib/
  61. convert.c
  62. convert.h
  63. copy.c
  64. credential-cache--daemon.c
  65. credential-cache.c
  66. credential-store.c
  67. credential.c
  68. credential.h
  69. csum-file.c
  70. csum-file.h
  71. ctype.c
  72. daemon.c
  73. date.c
  74. decorate.c
  75. decorate.h
  76. delta.h
  77. diff-delta.c
  78. diff-lib.c
  79. diff-no-index.c
  80. diff.c
  81. diff.h
  82. diffcore-break.c
  83. diffcore-delta.c
  84. diffcore-order.c
  85. diffcore-pickaxe.c
  86. diffcore-rename.c
  87. diffcore.h
  88. dir.c
  89. dir.h
  90. editor.c
  91. entry.c
  92. environment.c
  93. exec_cmd.c
  94. exec_cmd.h
  95. fast-import.c
  96. fetch-pack.h
  97. fixup-builtins
  98. fmt-merge-msg.h
  99. fsck.c
  100. fsck.h
  101. generate-cmdlist.sh
  102. gettext.c
  103. gettext.h
  104. git-add--interactive.perl
  105. git-am.sh
  106. git-archimport.perl
  107. git-bisect.sh
  108. git-compat-util.h
  109. git-cvsexportcommit.perl
  110. git-cvsimport.perl
  111. git-cvsserver.perl
  112. git-difftool--helper.sh
  113. git-difftool.perl
  114. git-filter-branch.sh
  115. git-gui/
  116. git-instaweb.sh
  117. git-lost-found.sh
  118. git-merge-octopus.sh
  119. git-merge-one-file.sh
  120. git-merge-resolve.sh
  121. git-mergetool--lib.sh
  122. git-mergetool.sh
  123. git-p4.py
  124. git-parse-remote.sh
  125. git-pull.sh
  126. git-quiltimport.sh
  127. git-rebase--am.sh
  128. git-rebase--interactive.sh
  129. git-rebase--merge.sh
  130. git-rebase.sh
  131. git-relink.perl
  132. git-remote-testgit.py
  133. git-repack.sh
  134. git-request-pull.sh
  135. git-send-email.perl
  136. git-sh-i18n.sh
  137. git-sh-setup.sh
  138. git-stash.sh
  139. git-submodule.sh
  140. git-svn.perl
  141. git-web--browse.sh
  142. git.c
  143. git.spec.in
  144. git_remote_helpers/
  145. gitk-git/
  146. gitweb/
  147. gpg-interface.c
  148. gpg-interface.h
  149. graph.c
  150. graph.h
  151. grep.c
  152. grep.h
  153. hash.c
  154. hash.h
  155. help.c
  156. help.h
  157. hex.c
  158. http-backend.c
  159. http-fetch.c
  160. http-push.c
  161. http-walker.c
  162. http.c
  163. http.h
  164. ident.c
  165. imap-send.c
  166. kwset.c
  167. kwset.h
  168. levenshtein.c
  169. levenshtein.h
  170. list-objects.c
  171. list-objects.h
  172. ll-merge.c
  173. ll-merge.h
  174. lockfile.c
  175. log-tree.c
  176. log-tree.h
  177. mailmap.c
  178. mailmap.h
  179. match-trees.c
  180. merge-file.c
  181. merge-file.h
  182. merge-recursive.c
  183. merge-recursive.h
  184. mergesort.c
  185. mergesort.h
  186. mergetools/
  187. name-hash.c
  188. notes-cache.c
  189. notes-cache.h
  190. notes-merge.c
  191. notes-merge.h
  192. notes.c
  193. notes.h
  194. object.c
  195. object.h
  196. pack-check.c
  197. pack-refs.c
  198. pack-refs.h
  199. pack-revindex.c
  200. pack-revindex.h
  201. pack-write.c
  202. pack.h
  203. pager.c
  204. parse-options-cb.c
  205. parse-options.c
  206. parse-options.h
  207. patch-delta.c
  208. patch-ids.c
  209. patch-ids.h
  210. path.c
  211. perl/
  212. pkt-line.c
  213. pkt-line.h
  214. po/
  215. ppc/
  216. preload-index.c
  217. pretty.c
  218. progress.c
  219. progress.h
  220. prompt.c
  221. prompt.h
  222. quote.c
  223. quote.h
  224. reachable.c
  225. reachable.h
  226. read-cache.c
  227. reflog-walk.c
  228. reflog-walk.h
  229. refs.c
  230. refs.h
  231. remote-curl.c
  232. remote.c
  233. remote.h
  234. replace_object.c
  235. rerere.c
  236. rerere.h
  237. resolve-undo.c
  238. resolve-undo.h
  239. revision.c
  240. revision.h
  241. run-command.c
  242. run-command.h
  243. send-pack.h
  244. sequencer.c
  245. sequencer.h
  246. server-info.c
  247. setup.c
  248. sh-i18n--envsubst.c
  249. sha1-array.c
  250. sha1-array.h
  251. sha1-lookup.c
  252. sha1-lookup.h
  253. sha1_file.c
  254. sha1_name.c
  255. shallow.c
  256. shell.c
  257. shortlog.h
  258. show-index.c
  259. sideband.c
  260. sideband.h
  261. sigchain.c
  262. sigchain.h
  263. strbuf.c
  264. strbuf.h
  265. streaming.c
  266. streaming.h
  267. string-list.c
  268. string-list.h
  269. submodule.c
  270. submodule.h
  271. symlinks.c
  272. t/
  273. tag.c
  274. tag.h
  275. tar.h
  276. templates/
  277. test-chmtime.c
  278. test-credential.c
  279. test-ctype.c
  280. test-date.c
  281. test-delta.c
  282. test-dump-cache-tree.c
  283. test-genrandom.c
  284. test-index-version.c
  285. test-line-buffer.c
  286. test-match-trees.c
  287. test-mergesort.c
  288. test-mktemp.c
  289. test-parse-options.c
  290. test-path-utils.c
  291. test-revision-walking.c
  292. test-run-command.c
  293. test-scrap-cache-tree.c
  294. test-sha1.c
  295. test-sha1.sh
  296. test-sigchain.c
  297. test-subprocess.c
  298. test-svn-fe.c
  299. thread-utils.c
  300. thread-utils.h
  301. trace.c
  302. transport-helper.c
  303. transport.c
  304. transport.h
  305. tree-diff.c
  306. tree-walk.c
  307. tree-walk.h
  308. tree.c
  309. tree.h
  310. unimplemented.sh
  311. unix-socket.c
  312. unix-socket.h
  313. unpack-trees.c
  314. unpack-trees.h
  315. upload-pack.c
  316. url.c
  317. url.h
  318. usage.c
  319. userdiff.c
  320. userdiff.h
  321. utf8.c
  322. utf8.h
  323. varint.c
  324. varint.h
  325. vcs-svn/
  326. walker.c
  327. walker.h
  328. wrap-for-bin.sh
  329. wrapper.c
  330. write_or_die.c
  331. ws.c
  332. wt-status.c
  333. wt-status.h
  334. xdiff-interface.c
  335. xdiff-interface.h
  336. xdiff/
  337. zlib.c