All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Opdenacker <michael.opdenacker@bootlin.com>
To: Quentin Schulz <foss@0leil.net>,
	Quentin Schulz <quentin.schulz@theobroma-systems.com>
Cc: Quentin Schulz <foss+yocto@0leil.net>, docs@lists.yoctoproject.org
Subject: Re: [docs] [PATCH 1/3] conf.py: properly escape backslashes for latex_elements
Date: Fri, 29 Mar 2024 12:12:44 +0100	[thread overview]
Message-ID: <85b79cd0-2f49-4217-815f-ba23c653ee14@bootlin.com> (raw)
In-Reply-To: <20240328-yocto-patches-v1-1-1124fa0bc532@theobroma-systems.com>

Hi Quentin

Thanks for the patch!

On 3/28/24 at 16:07, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
>
> There are some syntax warnings returned by Python:
> """
> yocto-docs/documentation/conf.py:162: SyntaxWarning: invalid escape sequence '\P'
>    'passoptionstopackages': '\PassOptionsToPackage{bookmarksdepth=5}{hyperref}',
> yocto-docs/documentation/conf.py:163: SyntaxWarning: invalid escape sequence '\s'
>    'preamble': '\setcounter{tocdepth}{2}',
> """
>
> Backslashes must be doubled in Python string literals to avoid
> interpretation as escape sequence, c.f.
> https://www.sphinx-doc.org/en/master/latex.html#module-latex.

What command(s) were you running to get the error? I didn't see it.
Anyway:
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Merged into "master-next"
Cheers
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  reply	other threads:[~2024-03-29 11:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28 15:07 [PATCH 0/3] new yocto-patches ML + some typo/syntax fixes Quentin Schulz
2024-03-28 15:07 ` [PATCH 1/3] conf.py: properly escape backslashes for latex_elements Quentin Schulz
2024-03-29 11:12   ` Michael Opdenacker [this message]
2024-03-29 11:16     ` [docs] " Quentin Schulz
2024-03-28 15:07 ` [PATCH 2/3] refer to new yocto-patches mailing list wherever appropriate Quentin Schulz
2024-03-29 11:20   ` [docs] " Michael Opdenacker
2024-03-28 15:07 ` [PATCH 3/3] contributor-guide: submit-changes: fix typo in URL Quentin Schulz
2024-03-29 11:21   ` [docs] " Michael Opdenacker
2024-03-29 11:41     ` Quentin Schulz

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=85b79cd0-2f49-4217-815f-ba23c653ee14@bootlin.com \
    --to=michael.opdenacker@bootlin.com \
    --cc=docs@lists.yoctoproject.org \
    --cc=foss+yocto@0leil.net \
    --cc=foss@0leil.net \
    --cc=quentin.schulz@theobroma-systems.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.