All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jean-Noël AVILA" <avila.jn@gmail.com>
To: Junio C Hamano <gitster@pobox.com>,
	Julia Evans <gitgitgadget@gmail.com>, Julia Evans <julia@jvns.ca>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] doc: add more AsciiDoc cross-references
Date: Sun, 18 Oct 2026 14:32:15 +0200	[thread overview]
Message-ID: <meK9MCd0TPmi4tPMhh-XUA@gmail.com> (raw)
In-Reply-To: <665e8f8d-7bde-449b-a390-10875135cba2@app.fastmail.com>

On Tuesday, 22 September 2026 22:54:17 CEST Julia Evans wrote:
> > Oh, I love a change that is so sharply focused on a single issue and
> > describes what the problem being solved is.
> :
> :)
> :
> >>      * I tested it by running this script
> >>      
> >>        (https://gist.github.com/jvns/039c8ed0add092f2179f0dba52ebb896) 
which
> >>        builds the previous and current views of all the man pages. I 
looked
> >>        at the output to make sure there were no differences. You can see 
the
> >>        output in that gist.
> >>      
> >>      * I believe that asciidoctor will automatically make sure that there
> >>      
> >>        are no broken links.
> >>      
> >>      * I also spot checked some of the HTML output to make sure it looked
> >>      
> >>        reasonable.
> >> 
> >> diff --git a/Documentation/fetch-options.adoc b/Documentation/fetch-
options.adoc
> >> index 035f780e58..47dea1de8e 100644
> >> --- a/Documentation/fetch-options.adoc
> >> +++ b/Documentation/fetch-options.adoc
> >> @@ -199,7 +199,7 @@ endif::git-pull[]
> >> 
> >>  	providing the tag refspec.
> >>  
> >>  ifndef::git-pull[]
> >>  +
> >> 
> >> -See the PRUNING section below for more details.
> >> +See the <<PRUNING,PRUNING>> section below for more details.
> > 
> > OK, we already see an example of the <<double,double>> reference
> > notation.  This needs to be in this form, intead of <<pruning>>,
> > because it refers to the named section of a different file, namely
> > git-fetch.adoc (I am just trying to make sure I understood your
> > explanation correctly).
> 
> The reason I explained this in a bit of a confusing way is that I'm not
> 100% sure in which exact cases we need to use <<double,double>
> instead of <<single>.
> 
> I double checked just now that if in `git-push.adoc`, I change:
> 
> 	of a remote (see the section <<REMOTES,REMOTES>> below),
> 
> to:
> 
> 	of a remote (see the section <<REMOTES>> below),
> 
> Then there's a problem where in the HTML version it displays as
> "[REMOTES]" instead of just "REMOTES".
> 
> But in the <<PRUNING,PRUNING>> example, just using <<PRUNING>>
> seems to work. I started working on this way back in December 2025
> so I assume that something in this patch was affected by this issue
> and that's how I came across this problem but I'm not sure exactly
> what it was.

I have a strong argument for using <<PRUNING,PRUNING>>, it is that the manual 
pages are now translated and that the translated term can require changes in 
the target languages and not be compatible with simply inserting the title, 
where English is very malleable.





  parent reply	other threads:[~2026-10-18 12:32 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22 19:29 [PATCH] doc: add more AsciiDoc cross-references Julia Evans via GitGitGadget
2026-09-22 20:20 ` Junio C Hamano
2026-09-22 20:54   ` Julia Evans
2026-09-23 21:40     ` Jeff King
2026-09-24 12:30       ` Julia Evans
2026-09-24 15:55         ` Jeff King
2026-09-24 17:15         ` Junio C Hamano
2026-09-24 17:22           ` Julia Evans
2026-09-24 18:17             ` Junio C Hamano
2026-09-24 18:42             ` Jeff King
2026-10-18 12:32     ` Jean-Noël AVILA [this message]
2026-09-23 19:06 ` Kristoffer Haugsbakk
2026-09-23 22:00 ` Jeff King
2026-09-25  0:52 ` [PATCH v2] " Julia Evans via GitGitGadget
2026-09-25  8:27   ` Jeff King
2026-09-25 16:08     ` Rewriting the Git tutorial to cover less content Julia Evans
2026-09-25 16:47       ` Junio C Hamano
2026-09-25 17:25         ` Julia Evans
2026-09-25 18:23           ` Junio C Hamano
2026-09-25 19:22             ` Julia Evans
2026-09-25 19:34               ` Junio C Hamano
2026-09-28 12:21                 ` Julia Evans
2026-09-28 15:16                   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=meK9MCd0TPmi4tPMhh-XUA@gmail.com \
    --to=avila.jn@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitgitgadget@gmail.com \
    --cc=gitster@pobox.com \
    --cc=julia@jvns.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.