[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ported Python Policy to Sphinx



Hi Stefano!

On Thu, Feb 25, 2021 at 10:58:41PM +0000, Stefano Rivera wrote:
> Hacking on the docbook Python Policy is no fun.
>
> I ported the current version to sphinx.
>
> MR: https://salsa.debian.org/cpython-team/python3-defaults/-/merge_requests/10
>
> Render: https://people.debian.org/~stefanor/python-policy-sphinx/
>
> I'd appreciate it if anyone who has the time would give it a proof-read.
>
> There are definitely sections that could use garbage collection and/or
> re-writes for clarity, but the intention of this MR is to just port to
> Sphinx without content changes.
>
> There's no direct equivalent in RST for
> <literal>python3.<replaceable>Y</replaceable></literal>, the best is
> ``python3.Y``.

You can use :samp:`python3.{Y}`. See:

https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#role-samp

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: