Skip to content

Commit

Permalink
Merge branch '4.0.x' into 8380_broken_search_tags
Browse files Browse the repository at this point in the history
  • Loading branch information
tk0miya committed May 10, 2021
2 parents 7516147 + 5956dc4 commit 6e4bcde
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Expand Up @@ -16,6 +16,10 @@ Features added
Bugs fixed
----------

* #9189: autodoc: crashed when ValueError is raised on generating signature
from a property of the class
* #9188: autosummary: warning is emitted if list value is set to
autosummary_generate
* #8380: html search: tags for search result are broken

Testing
Expand Down
2 changes: 1 addition & 1 deletion sphinx/ext/autodoc/__init__.py
Expand Up @@ -2570,7 +2570,7 @@ def add_directive_header(self, sig: str) -> None:
self.fullname, exc)
return None
except ValueError:
raise
return None


class NewTypeAttributeDocumenter(AttributeDocumenter):
Expand Down
2 changes: 1 addition & 1 deletion sphinx/ext/autosummary/__init__.py
Expand Up @@ -773,7 +773,7 @@ def setup(app: Sphinx) -> Dict[str, Any]:
app.connect('builder-inited', process_generate_options)
app.add_config_value('autosummary_context', {}, True)
app.add_config_value('autosummary_filename_map', {}, 'html')
app.add_config_value('autosummary_generate', True, True, [bool])
app.add_config_value('autosummary_generate', True, True, [bool, list])
app.add_config_value('autosummary_generate_overwrite', True, False)
app.add_config_value('autosummary_mock_imports',
lambda config: config.autodoc_mock_imports, 'env')
Expand Down

0 comments on commit 6e4bcde

Please sign in to comment.