MCPcopy Create free account
hub / github.com/ElementsProject/lightning / main

Function main

contrib/api/generate-python-docs.py:162–175  ·  view source on GitHub ↗

Main entry point.

()

Source from the content-addressed store, hash-verified

160
161
162def main():
163 """Main entry point."""
164 # Determine paths
165 script_dir = Path(__file__).parent.resolve()
166 repo_root = script_dir.parent.parent
167
168 # Default output directory
169 output_dir = repo_root / "docs" / "python"
170
171 # Allow override via command line argument
172 if len(sys.argv) > 1:
173 output_dir = Path(sys.argv[1])
174
175 generate_docs(output_dir, repo_root)
176
177
178if __name__ == "__main__":

Callers 1

Calls 1

generate_docsFunction · 0.85

Tested by

no test coverage detected