mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge branch '1.6-release'
This commit is contained in:
commit
b03fb3889a
@ -16,15 +16,16 @@
|
|||||||
|
|
||||||
%% for deprecation warnings
|
%% for deprecation warnings
|
||||||
\newcommand\sphinxdeprecationwarning[4]{% #1 the deprecated macro or name,
|
\newcommand\sphinxdeprecationwarning[4]{% #1 the deprecated macro or name,
|
||||||
% #2 = version when deprecated, #3 = version when removed, #4 = message
|
% #2 = when deprecated, #3 = when removed, #4 = additional info
|
||||||
\edef\spx@tempa{\detokenize{#1}}%
|
\edef\spx@tempa{\detokenize{#1}}%
|
||||||
\ltx@ifundefined{sphinx_depr_\spx@tempa}{%
|
\ltx@ifundefined{sphinx_depr_\spx@tempa}{%
|
||||||
\global\expandafter\let\csname sphinx_depr_\spx@tempa\endcsname\spx@tempa
|
\global\expandafter\let\csname sphinx_depr_\spx@tempa\endcsname\spx@tempa
|
||||||
\expandafter\AtEndDocument\expandafter{\expandafter\let\expandafter
|
\expandafter\AtEndDocument\expandafter{\expandafter\let\expandafter
|
||||||
\sphinxdeprecatedmacro\csname sphinx_depr_\spx@tempa\endcsname
|
\sphinxdeprecatedmacro\csname sphinx_depr_\spx@tempa\endcsname
|
||||||
\PackageWarningNoLine{sphinx}{^^J**** SPHINX DEPRECATION WARNING:^^J
|
\PackageWarningNoLine{sphinx}{^^J**** SPHINX DEPRECATION WARNING:^^J
|
||||||
\sphinxdeprecatedmacro\space will be (or has been)
|
\sphinxdeprecatedmacro^^J
|
||||||
deprecated at Sphinx #2^^J and will be removed at Sphinx #3.^^J
|
\@spaces- is deprecated at Sphinx #2^^J
|
||||||
|
\@spaces- and removed at Sphinx #3.^^J
|
||||||
#4^^J****}}%
|
#4^^J****}}%
|
||||||
}{% warning already emitted (at end of latex log), don't repeat
|
}{% warning already emitted (at end of latex log), don't repeat
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user