MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / building_rtfd

Function building_rtfd

tensorpack/utils/develop.py:70–76  ·  view source on GitHub ↗

Returns: bool: if the library is being imported to generate docs now.

()

Source from the content-addressed store, hash-verified

68
69
70def building_rtfd():
71 """
72 Returns:
73 bool: if the library is being imported to generate docs now.
74 """
75 return os.environ.get('READTHEDOCS') == 'True' \
76 or os.environ.get('DOC_BUILDING')
77
78
79_DEPRECATED_LOG_NUM = defaultdict(int)

Callers 2

create_dummy_classFunction · 0.85
create_dummy_funcFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected