diff --git a/CHANGES b/CHANGES index 0da91e830..dbe02349e 100644 --- a/CHANGES +++ b/CHANGES @@ -106,6 +106,9 @@ Features added ``suppress_warnings`` * #2803: Discovery of builders by entry point * #1764, #1676: Allow setting 'rel' and 'title' attributes for stylesheets +* #2961: improve :confval:`autodoc_mock_imports`. Now the config value only + requires to declare the top-level modules that should be mocked. + Thanks to Robin Jarry. Bugs fixed ---------- diff --git a/doc/ext/autodoc.rst b/doc/ext/autodoc.rst index 88151b0bc..62079c928 100644 --- a/doc/ext/autodoc.rst +++ b/doc/ext/autodoc.rst @@ -382,6 +382,9 @@ There are also new config values that you can set: .. versionadded:: 1.3 + .. versionchanged:: 1.6 + This config value only requires to declare the top-level modules that + should be mocked. Docstring preprocessing -----------------------