Bug#932957: #932957 Please migrate Release Notes to reStructuredText
- To: Holger Wansing <hwansing@mailbox.org>
- Cc: 932957@bugs.debian.org
- Subject: Bug#932957: #932957 Please migrate Release Notes to reStructuredText
- From: Richard Lewis <richard.lewis.debian@googlemail.com>
- Date: Sun, 30 Jul 2023 21:32:36 +0100
- Message-id: <[🔎] 86r0op2l97.fsf@simplex.rtf.org.uk>
- Reply-to: Richard Lewis <richard.lewis.debian@googlemail.com>, 932957@bugs.debian.org
- In-reply-to: <20230730201719.173117006ce24fd930cb4e8c__39136.396271509$1690741296$gmane$org@mailbox.org> (Holger Wansing's message of "Sun, 30 Jul 2023 20:17:19 +0200")
- References: <156392122414.21521.2428489363999485595.reportbug@hier> <20230518223911.935f58aaac97550f8020532f@mailbox.org> <156392122414.21521.2428489363999485595.reportbug@hier> <fbac1e6d-1ba0-e6b9-c173-704047c3ce03@debian.org> <156392122414.21521.2428489363999485595.reportbug@hier> <AD16261F-4ACF-405B-8F7F-081AC232B24E@mailbox.org> <156392122414.21521.2428489363999485595.reportbug@hier> <20230729212927.f5247c7ff69da1ee8370427a__25884.7677077696$1690659220$gmane$org@mailbox.org> <156392122414.21521.2428489363999485595.reportbug@hier> <[🔎] 86y1ix3e2l.fsf@simplex.rtf.org.uk> <156392122414.21521.2428489363999485595.reportbug@hier> <20230730201719.173117006ce24fd930cb4e8c__39136.396271509$1690741296$gmane$org@mailbox.org> <156392122414.21521.2428489363999485595.reportbug@hier>
Holger Wansing <hwansing@mailbox.org> writes:
> Richard Lewis <richard.lewis.debian@googlemail.com> wrote (Sun, 30 Jul 2023 11:10:10 +0100):
>> in [0] the '#' is meant to indicate 'run this as root', but the rst has
>> '.. code-block:: shell' so the commands are being formatted as a
>> comment.
>
> Yes, there are different methods for including quoted material, and they are
> somewhat tricky sometimes.
>
> I may lack detailed experience on this, so need more details:
> - What's the exact URL where you found this? (there was no such link as [0])
> - What makes you think, that the commands are formatted as comment?
> Is it the font color or what?
sorry - it's the use of italic in eg '# apt-mark auto rsyslog'
https://people.debian.org/~holgerw/release-notes_sphinx/www.debian.org/releases/trixie/release-notes/issues.en.html#changes-to-system-logging
i found
https://stackoverflow.com/questions/16397794/how-to-show-terminal-shell-code-snippets-in-sphinx
which i think says that 'code-block:: console' might be better than
'code-block:: shell', but i may be misunderstanding that page
Reply to: