From: Junio C Hamano <gitster@pobox.com>
To: Cory Kramer <corykramer@google.com>
Cc: git@vger.kernel.org, "Jean-Noël Avila" <jn.avila@free.fr>
Subject: Re: Documentation Bug
Date: Fri, 19 Jul 2024 11:04:15 -0700 [thread overview]
Message-ID: <xmqqle1xjm1s.fsf@gitster.g> (raw)
In-Reply-To: <CAJ7O7F7Zxd-FUbdJh-zxr1FOrUmZQuwx4CHLbQ-ppbkSN79Z-Q@mail.gmail.com> (Cory Kramer's message of "Fri, 19 Jul 2024 12:09:22 -0400")
Cory Kramer <corykramer@google.com> writes:
> In the docs for git-clone the brackets become mismatched for any
> options that have a [no-] counterpart.
> https://git-scm.com/docs/git-clone
Interesting. The preformatted pages that were directly generated
from the sources at https://git.github.io/htmldocs/git-clone.html
has no such breakage.
Cory, thanks for reporting.
I think 76880f05 (doc: git-clone: apply new documentation formatting
guidelines, 2024-03-29) is where the alleged "breakage" came from.
Comparing it with pages that weren't updated by the topic that ends
at 58dd7e4b (Merge branch 'ja/doc-markup-updates', 2024-04-09), like
https://git-scm.com/docs/git-clone
https://git-scm.com/docs/git-add
I notice that the latter is rendered with "--[no-]ignore-removal"
correctly shown.
Two possible action items are
- Compare the preformatted pages at https://git.github.io/htmldocs/
between git-clone and git-add and re-evaluate if the earlier
ja/doc-markup-updates topic did to the SYNOPSIS is really what we
want (the difference is harder to assess by looking at the pages
at https://git-scm.com/docs/).
- Update the machinery that formats our documentation sources and
renders at https://git-scm.com/docs/ to grok the mark-up used by
ja/doc-markup-updates topic (currently in use for clone, init,
and nothing else).
Do anybody remember what transmongering produces the copy shown at
git-scm.com from the source? Is it computed from the preformatted
pages, or from the source?
next prev parent reply other threads:[~2024-07-19 18:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-19 16:09 Documentation Bug Cory Kramer
2024-07-19 18:04 ` Junio C Hamano [this message]
2024-07-20 17:14 ` Jean-Noël AVILA
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=xmqqle1xjm1s.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=corykramer@google.com \
--cc=git@vger.kernel.org \
--cc=jn.avila@free.fr \
/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.