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

未关闭 适合新手
#20 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1-3 小时
新手友好度
88/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
markdown, python
领域
documentation

调研方向

阅读 docs/contributing.md 中的 Backend 和 Engine 部分,并将其与链接的 README 标题进行比较。仅更新这些摘要,使其按 README 中的顺序列出每条设置和测试命令,包括指向标题的可选链接。两份列表都与 README 一致且没有其他页面内容发生变化时,任务即完成。

由索引模型根据 Issue 内容生成。

描述

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.
主要语言
Python
星标
0
派生
0
平均合并
10 小时 40 分钟
30 天内合并 PR
11

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

openpickleball/developers 的其他 Issue

查看 openpickleball/developers 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。