CONTRIBUTING.md
Rama main · réplica de lectura del repositorio original.
# Contributing to the Logfire SDK and docs
We'd love anyone interested to contribute to the Logfire SDK and documentation.
## How to contribute
1. Fork and clone the repository
2. [Install uv](https://docs.astral.sh/uv/getting-started/installation/)
3. [Install pre-commit](https://pre-commit.com/#install)
4. Run `make install` to install dependencies
5. Run `make test` to run unit tests
6. Run `make test-update-examples` to format and update examples in the docs
7. Run `make format` to format code
8. Run `make lint` to lint code
9. Preview documentation through the unified site:
- Pydantic organization members can run `make docs-serve`
- External contributors can ask a maintainer to add the `trigger:docs` label to their pull request
You're now set up to start contributing!
Local preview requires Node.js 24, pnpm, uv, and access to the private `pydantic/unified-docs`
repository. Put its checkout beside this repository or set
`UNIFIED_DOCS_PATH=/path/to/unified-docs`. Set `DOCS_PORT=4322` to use a different local port.