Automatically generate comprehensive documentation for codebases.
document this codegenerate README for [project]document function [name]create API docs for [endpoint]add comments to [file]# Project Name
## Description
[Brief description]
## Installation
[Installation commands]
## Usage
[Code examples]
## API Reference
| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | /api/... | ... |
## Contributing
[Guidelines]
## License
[License info]
def function_name(param1: type, param2: type) -> return_type:
"""
Short description.
Longer explanation of what the function does.
Args:
param1: Description of param1
param2: Description of param2
Returns:
Description of return value
Raises:
ExceptionType: When this happens
Example:
>>> function_name(...)
...
"""
共 1 个版本