Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main():
for m in documented_sdk_modules:
html = pdoc.html(m, allsubmodules=True)
with open(module_to_docpath(m), 'w') as f:
f.write(html)
import mycroft
mycroft.__all__ = [m[8:] for m in documented_sdk_modules]
root_module = pdoc.Module(mycroft)
html = root_module.html(external_links=False, link_prefix='', source=True)
with open(module_to_docpath("mycroft"), 'w') as f:
f.write(html)