From cfc39fe7b722b0ebb78c95684fa15521ae7e6cd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20B?= <2589111+jfbu@users.noreply.github.com> Date: Mon, 8 Jul 2024 23:07:38 +0200 Subject: [PATCH] Fix a code comment --- sphinx/texinputs/sphinxlatexadmonitions.sty | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sphinx/texinputs/sphinxlatexadmonitions.sty b/sphinx/texinputs/sphinxlatexadmonitions.sty index 3ecd8b59743..4b9a60fff66 100644 --- a/sphinx/texinputs/sphinxlatexadmonitions.sty +++ b/sphinx/texinputs/sphinxlatexadmonitions.sty @@ -34,10 +34,13 @@ % custom code which used it via custom definitions done in preamble or via % raw latex directive. % MEMO: here is for example how sphinxnote was formerly defined: -% \newenvironment{sphinxnote}[1] -% {\begin{sphinxlightbox}\sphinxstylenotetitle{#1}} -% {\end{sphinxlightbox}} +% (where #1 is the localized string Note, followed with a colon) +% \newenvironment{sphinxnote}[1] +% {\begin{sphinxlightbox}\sphinxstrong{#1} } +% {\end{sphinxlightbox}} % Use this if you want to revert the 7.4.0 switch to usage of sphinxheavybox. +% (the 7.4.0 redefined \sphinxstylenotetitle will not work in sphinxlightbox, +% so \sphinxstrong{#1} which was its former default is used above). % % Requires: