From: Eli Zaretskii <eliz@gnu.org>
To: Andrew Burgess <andrew.burgess@embecosm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb/doc: reorder and group sections relating to aliases
Date: Wed, 13 Jan 2021 17:04:49 +0200 [thread overview]
Message-ID: <835z40dgj2.fsf@gnu.org> (raw)
In-Reply-To: <20210112170115.GB265215@embecosm.com> (message from Andrew Burgess on Tue, 12 Jan 2021 17:01:15 +0000)
> Date: Tue, 12 Jan 2021 17:01:15 +0000
> From: Andrew Burgess <andrew.burgess@embecosm.com>
> Cc: gdb-patches@sourceware.org
>
> > > - Move the section on default args to become a sub-section of the
> > > 'Command Aliases' section, and rename this sub-section to just
> > > 'Default Arguments'.
> >
> > This is fine, but you must also add a @menu in the parent section
> > "Command Aliases", because otherwise at least some versions of
> > makeinfo will barf or display a warning: the @menu is necessary for
> > makeinfo to understand the structure of the nodes (which is UP of
> > which) and generate the necessary links.
>
> How do you feel about using anchor instead of node?
I'd prefer to have a node.
> It feels weird to me to have sub-sections added into the @menu
> blocks, but maybe that's just an issue on my side.
It's fine to have such a menu.
> Is there any advice or guidance you could give on how to choose
> between node and anchor?
I use @anchor only when I need to produce a cross-reference to a very
long node, most of which is not related to the subject of the
cross-reference. Nodes are better because they help navigating
through the document, and you can arrive to nodes by means other than
cross-references.
> I'd also be interested in better understanding the differences
> between these two, I read the manual but didn't feel enlightened.
Basically, a node is also a section/subsection, whereas anchor isn't.
next prev parent reply other threads:[~2021-01-13 15:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-12 13:18 Andrew Burgess
2021-01-12 16:02 ` Eli Zaretskii
2021-01-12 17:01 ` Andrew Burgess
2021-01-13 15:04 ` Eli Zaretskii [this message]
2021-01-21 18:18 ` Andrew Burgess
2021-01-21 19:46 ` Eli Zaretskii
2021-01-22 9:38 ` Andrew Burgess
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=835z40dgj2.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=andrew.burgess@embecosm.com \
--cc=gdb-patches@sourceware.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).