mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-16 13:20:39 -07:00
Update API documentation and enhance server configuration
- Added server configurations for local and production environments in `main.py`. - Removed outdated authentication and generation API documentation files. - Updated documentation structure to reflect the removal of deprecated API endpoints. - Adjusted links in the quick start and developer setup documentation to point to the new API reference. - Enhanced global CSS styles for improved theming support.
This commit is contained in:
@@ -259,7 +259,11 @@ When adding new API endpoints:
|
||||
</Step>
|
||||
|
||||
<Step title="Update Docs">
|
||||
Add documentation in `/docs/api/`
|
||||
The API documentation is automatically generated from the OpenAPI schema. Ensure your endpoint has proper docstrings and type hints, then regenerate the docs:
|
||||
|
||||
```bash
|
||||
bun run generate:api
|
||||
```
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user