From: Jonathan Corbet <corbet@lwn.net>
To: Stephen Kitt <steve@sk2.org>, linux-kernel@vger.kernel.org
Cc: Stephen Kitt <steve@sk2.org>, linux-doc@vger.kernel.org
Subject: Re: [PATCH] docs: admin-guide/sysctl: escape % symbols
Date: Fri, 24 Jun 2022 13:09:25 -0600 [thread overview]
Message-ID: <871qvd6fq2.fsf@meer.lwn.net> (raw)
In-Reply-To: <20220624110230.595740-1-steve@sk2.org>
Stephen Kitt <steve@sk2.org> writes:
> % symbols need to be escaped to render correctly here, do so.
>
> Signed-off-by: Stephen Kitt <steve@sk2.org>
> ---
> Documentation/admin-guide/sysctl/kernel.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst
> index ddccd1077462..079a51ed88a9 100644
> --- a/Documentation/admin-guide/sysctl/kernel.rst
> +++ b/Documentation/admin-guide/sysctl/kernel.rst
> @@ -38,8 +38,8 @@ acct
>
> If BSD-style process accounting is enabled these values control
> its behaviour. If free space on filesystem where the log lives
> -goes below ``lowwater``% accounting suspends. If free space gets
> -above ``highwater``% accounting resumes. ``frequency`` determines
> +goes below ``lowwater``\% accounting suspends. If free space gets
> +above ``highwater``\% accounting resumes. ``frequency`` determines
> how often do we check the amount of free space (value is in
> seconds). Default:
Interesting...I had to go digging into why this is, because "%" isn't
really special for RST. The real problem is that ``literal`` markup
needs to have word separators around it, and the recommended solution is
to use "\ " instead.
So I'll apply this, but tweak the changelog and add the extra spaces.
Thanks,
jon
next prev parent reply other threads:[~2022-06-24 19:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-24 11:02 Stephen Kitt
2022-06-24 19:09 ` Jonathan Corbet [this message]
2022-06-25 15:22 ` Stephen Kitt
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=871qvd6fq2.fsf@meer.lwn.net \
--to=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=steve@sk2.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
all inboxes | Powered by JetHome®