mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge branch '2.1.3' into 2.0
This commit is contained in:
11
CHANGES
11
CHANGES
@@ -45,7 +45,7 @@ Bugs fixed
|
||||
Testing
|
||||
--------
|
||||
|
||||
Release 2.1.2 (in development)
|
||||
Release 2.1.3 (in development)
|
||||
==============================
|
||||
|
||||
Dependencies
|
||||
@@ -66,6 +66,15 @@ Bugs fixed
|
||||
Testing
|
||||
--------
|
||||
|
||||
Release 2.1.2 (released Jun 19, 2019)
|
||||
=====================================
|
||||
|
||||
Bugs fixed
|
||||
----------
|
||||
|
||||
* #6497: custom lexers fails highlighting when syntax error
|
||||
* #6478, #6488: info field lists are incorrectly recognized
|
||||
|
||||
Release 2.1.1 (released Jun 10, 2019)
|
||||
=====================================
|
||||
|
||||
|
||||
@@ -73,6 +73,7 @@ class ObjectDescription(SphinxDirective):
|
||||
|
||||
def get_field_type_map(self) -> Dict[str, Tuple[Field, bool]]:
|
||||
if self._doc_field_type_map == {}:
|
||||
self._doc_field_type_map = {}
|
||||
for field in self.doc_field_types:
|
||||
for name in field.names:
|
||||
self._doc_field_type_map[name] = (field, False)
|
||||
|
||||
@@ -139,7 +139,8 @@ class PygmentsBridge:
|
||||
lexer = lexers['none']
|
||||
|
||||
if lang in lexers:
|
||||
lexer = lexers[lang]
|
||||
# just return custom lexers here (without installing raiseonerror filter)
|
||||
return lexers[lang]
|
||||
elif lang in lexer_classes:
|
||||
lexer = lexer_classes[lang](**opts)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user