Skip to content

Commit d34ea18

Browse files
committed
Remove section redefining warnings and notes
1 parent 16b9fef commit d34ea18

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

sphinx_astropy/conf/v1.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,14 +298,6 @@ def check_sphinx_version(expected_version):
298298
\DeclareUnicodeCharacter{00B0}{\ensuremath{^{\circ}}}
299299
\DeclareUnicodeCharacter{2032}{\ensuremath{^{\prime}}}
300300
\DeclareUnicodeCharacter{2033}{\ensuremath{^{\prime\prime}}}
301-
302-
% Make the "warning" and "notes" sections use a sans-serif font to
303-
% make them stand out more.
304-
\renewenvironment{notice}[2]{
305-
\def\py@noticetype{#1}
306-
\csname py@noticestart@#1\endcsname
307-
\textsf{\textbf{#2}}
308-
}{\csname py@noticeend@\py@noticetype\endcsname}
309301
"""
310302

311303
# Documents to append as an appendix to all manuals.

0 commit comments

Comments
 (0)