On Mon, 11 Mar 2019 at 03:59, Jeff King <peff@xxxxxxxx> wrote: > > On Sun, Mar 10, 2019 at 04:14:22PM +0100, Martin Ågren wrote: > > > [1] I could have sworn I checked the html docs and saw that they didn't > > have this extra space. Looking at git-scm.com again reveals that it's > > not there. Huh. Seems like the site's html-rendering doesn't go through our > > Makefile at all and handles "linkgit:" on its own: > > https://github.com/git/git-scm.com/blob/master/script/doc_importer > > Correct. It significantly predates any support for asciidoctor in our > Makefile, and needs to do some custom ruby-level tweaking (though > possibly that could be cleaned up these days). > > The doc_importer script you found, though, is not part of that process. > I _think_ it's just leftover cruft. The actual import and conversion > happens as part of the rake task in: > > https://github.com/git/git-scm.com/blob/master/lib/tasks/index.rake > > (Not that any of this matters for your series; just sprinkling some fun > facts into the conversation). Thanks for this background info, and for the correct link. :-) Martin