mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 16:32:10 -05:00
Fix the warning type `misc.highlighting_failure` does not work
This commit is contained in:
1 parent
12096b3b86
commit
07633a5a71
2 files changed
+2
-1
No files matched your search
@@ -17,6 +17,7 @@ Bugs fixed
|
|||||||
* #3255: In Py3.4 environment, autodoc doesn't support documentation for
|
* #3255: In Py3.4 environment, autodoc doesn't support documentation for
|
||||||
attributes of Enum class correctly.
|
attributes of Enum class correctly.
|
||||||
* #3261: ``latex_use_parts`` makes sphinx crash
|
* #3261: ``latex_use_parts`` makes sphinx crash
|
||||||
|
* The warning type ``misc.highlighting_failure`` does not work
|
||||||
|
|
||||||
Release 1.5.1 (released Dec 13, 2016)
|
Release 1.5.1 (released Dec 13, 2016)
|
||||||
=====================================
|
=====================================
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ class PygmentsBridge(object):
|
|||||||
elif warn:
|
elif warn:
|
||||||
warn('Could not lex literal_block as "%s". '
|
warn('Could not lex literal_block as "%s". '
|
||||||
'Highlighting skipped.' % lang,
|
'Highlighting skipped.' % lang,
|
||||||
type='misc', subtype='higlighting_failure')
|
type='misc', subtype='highlighting_failure')
|
||||||
else:
|
else:
|
||||||
raise exc
|
raise exc
|
||||||
hlsource = highlight(source, lexers['none'], formatter)
|
hlsource = highlight(source, lexers['none'], formatter)
|
||||||
|
|||||||
Reference in new issue
Block a user