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 49
49
]
50
50
51
51
autodoc_typehints = 'description'
52
+ autodoc_mock_imports = ["site" ]
52
53
53
54
# Prefix each autosectionlabel with the name of the document it is in and a colon
54
55
autosectionlabel_prefix_document = True
Original file line number Diff line number Diff line change 33
33
34
34
35
35
class 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
+ """
36
44
def __init__ (self , debug = False ):
37
45
self .debug = debug
38
46
# A lock to hold whenever you don't want modules unloaded:
You can’t perform that action at this time.
0 commit comments