Match the backend and engine setup steps on the Contributing page to their READMEs

Đang mở Phù hợp với người mới
#20 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
88/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
markdown, python
Lĩnh vực
documentation

Hướng nghiên cứu

Đọc các phần Backend và Engine trong docs/contributing.md rồi so sánh chúng với các tiêu đề README được liên kết. Chỉ cập nhật các phần tóm tắt đó để liệt kê từng lệnh thiết lập và kiểm thử theo thứ tự trong README, bao gồm cả các liên kết tùy chọn đến tiêu đề. Hoàn tất khi cả hai danh sách khớp với các README và không có nội dung trang nào khác thay đổi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

documentation good first issue

What to change

The site's Contributing page sums up how to set up each repository. Two of those summaries have fallen behind the READMEs they summarize. Each repository's README is the source of truth, so change the site to match them.

  1. Backend. The page says the quick start runs docker compose up -d --wait, then uv run pytest. The backend README's Quick start has more steps: cp .env.example .env, uv sync, docker compose up -d --wait, uv run python manage.py migrate, then uv run pytest. If someone skips the .env copy, the commands have no settings. Name those steps in order. You can also link the Quick start heading.
  2. Engine. The page says to run pytest, ruff check ., and mypy src. The engine README's Setup and tests also runs ruff format ., and it installs into a virtual environment first (python -m venv .venv, then source .venv/bin/activate). Add both. You can link that heading too.

Don't change anything else on the page. The frontend summary (Node 26, pnpm, site/ and app/) still matches the frontend's guide. The sentence saying the engine "has no guide of its own" is also still true: the engine has no CONTRIBUTING.md, and its README points to the organization guide.

Where to look

Copy the command text exactly from main in those READMEs. If a README has changed since this issue was written, follow the README.

How to test

From CONTRIBUTING.md:

uv sync
uv run pytest
uv run python scripts/check_docs.py
uv run zensical build --strict
uv run zensical serve

Open http://localhost:8000/contributing/. Check that the Backend and Engine sections list the same steps as the READMEs, in the same order, and that any new links open the right heading.

Done when

  • The Backend section names the .env copy, uv sync, docker compose up -d --wait, the migrate step, and uv run pytest, in the README's order.
  • The Engine section names the virtual environment, pip install -e ".[dev]", pytest, ruff check ., ruff format ., and mypy src.
  • Nothing else on the page changed, and the page has no emojis or em dashes.
  • uv run pytest, uv run python scripts/check_docs.py, and uv run zensical build --strict all pass.
Ngôn ngữ chính
Python
Star
0
Fork
0
Merge trung bình
10 giờ 40 phút
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openpickleball/developers

Tất cả issue của openpickleball/developers

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.