File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 4949]
5050
5151autodoc_typehints = 'description'
52+ autodoc_mock_imports = ["site" ]
5253
5354# Prefix each autosectionlabel with the name of the document it is in and a colon
5455autosectionlabel_prefix_document = True
Original file line number Diff line number Diff line change 3333
3434
3535class ModuleWatcher (object ):
36+ """A watcher that reloads modules that have been modified on disk
37+
38+ Only reloads modules imported after instantiation. Does not reload C extensions.
39+
40+ Args:
41+ debug (bool, optional): When :code:`True`, prints debugging information
42+ when reloading modules.
43+ """
3644 def __init__ (self , debug = False ):
3745 self .debug = debug
3846 # A lock to hold whenever you don't want modules unloaded:
You can’t perform that action at this time.
0 commit comments