Message ID | cover.1552230490.git.martin.agren@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | fix spurious space after linkgit, now in *.html | expand |
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). -Peff
Martin Ågren <martin.agren@gmail.com> writes: > Bleh. For some reason [1] I thought the html-files were exempt from this > "extra space after linkgit" problem. They're not, as I just noticed. To > add insult to injury, my original patch 2 which adds a missing > dependency to the xml targets fails to add the exact same dependency for > a few other targets. So of the three patches discussed above, at least > two were incomplete. > > Since this has hit "next", here are two patches on top to address this. > > Sorry about this. Thanks. If it makes it easier, we can eject ma/asciidoctor-fixes out of 'next' when we rebuild 'next'. I actually am tempted to start 'next' from empty for this round after merging some obviously correct ones that are there to the 'master' branch.
On Mon, 11 Mar 2019 at 04:02, Junio C Hamano <gitster@pobox.com> wrote: > > Martin Ågren <martin.agren@gmail.com> writes: > > > Since this has hit "next", here are two patches on top to address this. > > > > Sorry about this. > > Thanks. > > If it makes it easier, we can eject ma/asciidoctor-fixes out of > 'next' when we rebuild 'next'. I actually am tempted to start > 'next' from empty for this round after merging some obviously > correct ones that are there to the 'master' branch. Ok, then I'll take that offer. I'll squash these two patches into the original series. Thanks. Martin
On Mon, 11 Mar 2019 at 03:59, Jeff King <peff@peff.net> 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
Martin Ågren <martin.agren@gmail.com> writes: > Ok, then I'll take that offer. I'll squash these two patches into the > original series. Thanks. Our mails might cross, but just in case you haven't started, here are the locally squashed results with updated log messages.
On Mon, 11 Mar 2019 at 10:24, Junio C Hamano <gitster@pobox.com> wrote: > > Martin Ågren <martin.agren@gmail.com> writes: > > > Ok, then I'll take that offer. I'll squash these two patches into the > > original series. Thanks. > > Our mails might cross, but just in case you haven't started, here > are the locally squashed results with updated log messages. Thank you so much! This looks good to me. Martin