From: Diederik de Haas <didi.debian@cknow.org>
To: Linux Documentation <linux-doc@vger.kernel.org>,
Bagas Sanjaya <bagasdotme@gmail.com>
Subject: Re: checkpatch doc suggestion
Date: Mon, 06 May 2024 15:59:41 +0200 [thread overview]
Message-ID: <5571273.FuBcWSoPN1@bagend> (raw)
In-Reply-To: <ZjTe1STECXg2mmmJ@archie.me>
[-- Attachment #1: Type: text/plain, Size: 580 bytes --]
On Friday, 3 May 2024 14:55:49 CEST Bagas Sanjaya wrote:
> > I think it would be really useful if (f.e.) the following URL
> > https://docs.kernel.org/dev-tools/checkpatch.html#BAD_FIXES_TAG
> >
> > would lead me straight to the BAD_FIXES_TAG explanation.
>
> So to add link to arbitrary location in the docs, you have to explicitly add
> target (anchor) to desired location. Then you can reference it using the
> target's name. For example, to accomplish your suggestion above:
Thanks for that hint as I indeed didn't know how to add anchors in .rst files.
Cheers,
Diederik
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-05-06 13:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 10:56 checkpatch doc suggestion Diederik de Haas
2024-05-03 12:55 ` Bagas Sanjaya
2024-05-06 13:59 ` Diederik de Haas [this message]
2024-05-08 0:16 ` Bagas Sanjaya
2024-05-12 15:58 ` Diederik de Haas
2024-05-13 5:08 ` Akira Yokosawa
2024-05-13 9:53 ` Diederik de Haas
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=5571273.FuBcWSoPN1@bagend \
--to=didi.debian@cknow.org \
--cc=bagasdotme@gmail.com \
--cc=linux-doc@vger.kernel.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 NNTP newsgroup(s).