MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / main

Function main

PythonAPI/docs/doc_gen.py:480–487  ·  view source on GitHub ↗

Main function

()

Source from the content-addressed store, hash-verified

478
479
480def main():
481 """Main function"""
482 print("Generating PythonAPI documentation...")
483 script_path = os.path.dirname(os.path.abspath(__file__))
484 docs = Documentation(script_path)
485 with open(os.path.join(script_path, '../../Docs/python_api.md'), 'w') as md_file:
486 md_file.write(docs.gen_markdown())
487 print("Done!")
488
489
490if __name__ == "__main__":

Callers 1

doc_gen.pyFile · 0.70

Calls 3

gen_markdownMethod · 0.95
DocumentationClass · 0.85
writeMethod · 0.45

Tested by

no test coverage detected