mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-07-09 14:31:25 +08:00
docs: add en translate
This commit is contained in:
14
docs/content/en/contribute/_index.md
Normal file
14
docs/content/en/contribute/_index.md
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: "Contributing"
|
||||
weight: 20
|
||||
---
|
||||
|
||||
# Contributing
|
||||
|
||||
## Contributing New Storage Backend
|
||||
|
||||
1. Fork this repository and clone it to your local machine.
|
||||
2. Add the new storage backend type in `pkg/enums/storage/storages.go` and run code generation.
|
||||
3. Define the storage backend configuration in the `config/storage` directory and add it to `config/storage/factory.go`.
|
||||
4. Create a new package in the `storage` directory, implement the storage backend, and import it in `storage/storage.go`.
|
||||
5. Update the documentation to include configuration details for the new storage backend.
|
||||
Reference in New Issue
Block a user