Contributing¶
New feature, bug fix, new language, new howto, typo fix; everything is fine.
If you want to participate in this project, you are welcome to start by translating/writing documents.
Basic principles¶
Target user¶
- Self-hosting(as app, with docker container)
- Developers using ASGI frameworks
User strategy¶
Normal user¶
- Out-of-the-box
- Guiding users to improve their configuration through log messages
Power user¶
- Flexibility should be provided without affecting the normal user
Workflow¶
graph TD
A[Proposal] -->|fork| C[PR Draft]
C --> D[CI] --> C
D -->|Out of Draft mode| E[review] --> C
E --> F[merge]
Proposal¶
- Why/How/Who
- discuss of the technical solution
PR Draft¶
- create PR in Draft mode
- discuss of technical details
- add/check/update unit test
- check/update document
- CI/review code(move out Draft mode)
Coding¶
Prepare¶
git clone https://github.com/rexzhang/asgi-webdav.git
cd asgi-webdav
pip install -U -r requirements.txt
Run Dev Server¶
Check commit by pre-commit¶
Documentation¶
Create a new language translation¶
Example¶
Update MkDocs's config file¶
mkdocs.txt
example
- i18n:
docs_structure: suffix
languages:
- locale: en
default: true
name: English
build: true
- locale: zh
name: 中文
build: true
nav_translations:
Home: 首页
Getting started: 开始配置
How To: 如何做
Reference: 参考
Trouble Shooting: 问题处理