Contributing¶
Welcome! This page is a quick orientation for contributors. The full and authoritative guidelines live in the repository's CONTRIBUTING.md; please skim it before opening a pull request.
Quick start¶
Everything you need to develop the framework, the docs site, and the demo app is now installed. Run the demo with wyb dev --dir . and open the URL it prints.
Where to make changes¶
| Want to change... | Look here |
|---|---|
| Framework code | src/wybthon/ |
| Demo app | examples/demo/ |
| Documentation site | docs/ |
| Tests | tests/ |
| Lint / format / typing config | pyproject.toml |
Coding standards¶
- Source code targets Python 3.10+ with type hints throughout.
- Docstrings use the Google style documented in the docs style guide. The Ruff
pydocstyleruleset enforces this. - Run
ruff check .andruff format --check .before pushing. - Run
mypy srcandpytestto verify types and tests.
Updating documentation¶
- Author new pages under
docs/and add them tomkdocs.yml. - Build the site locally with
mkdocs serve(ormkdocs build --strictto fail on warnings the way CI does). - Cross-reference Python symbols with
[label][wybthon.symbol]syntax; see the style guide for details.
Filing a pull request¶
- Open an issue first for non-trivial changes so we can align on the approach.
- Keep PRs focused: one logical change per PR makes review easier.
- Add or update tests when changing behavior.
- Update the relevant docs page(s) so the framework stays self-explanatory.
Next steps¶
- Skim the docs style guide before writing prose.
- Browse open issues at
github.com/wybthon/wybthon/issuesfor ways to help.