Skip to content

Commit

Permalink
Show deprecation warning for viewcode_import
Browse files Browse the repository at this point in the history
  • Loading branch information
tk0miya committed Mar 30, 2019
1 parent bd903c8 commit d279f58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Bugs fixed
* deprecation warnings are not emitted

- sphinx.application.CONFIG_FILENAME
- :confval:`viewcode_import`

Testing
--------
Expand Down
1 change: 1 addition & 0 deletions sphinx/ext/viewcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ def setup(app):
app.add_config_value('viewcode_import', None, False)
app.add_config_value('viewcode_enable_epub', False, False)
app.add_config_value('viewcode_follow_imported_members', True, False)
app.connect('config-inited', migrate_viewcode_import)
app.connect('doctree-read', doctree_read)
app.connect('env-merge-info', env_merge_info)
app.connect('html-collect-pages', collect_pages)
Expand Down

0 comments on commit d279f58

Please sign in to comment.