Skip to content

Conversation

@soxofaan
Copy link
Contributor

@soxofaan soxofaan commented Oct 9, 2024

  • Allow maintainers to push and squash when merging my commits. Please uncheck this if you prefer to squash the commits yourself.
  • Create a new changelog file in the changelog folder, with a name like <ISSUE NUMBER>.<TYPE>.rst. See changelog/README.rst for details.
  • Add yourself to AUTHORS in alphabetical order.

soxofaan added a commit to soxofaan/pytest that referenced this pull request Oct 9, 2024
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Oct 9, 2024
soxofaan added a commit to soxofaan/pytest that referenced this pull request Oct 9, 2024
@soxofaan
Copy link
Contributor Author

soxofaan commented Oct 9, 2024

I was looking up some docs around the recwarn fixture today and had a hard time getting to the point. This PR tries to fix some problems in the docs around that:

  • replace some raw http links with sphinx references
  • when mentioning recwarn, point to the API docs instead of a section that barely explains something about recwarn
  • from the recwarn API docs, provide cross-reference to a how-to section about recwarn instead of something loosely related
  • recwarn API docs: also document __getitem__, __iter__ and __len__ (which are shown in the how to, but not explained)

@soxofaan soxofaan marked this pull request as ready for review October 9, 2024 20:40
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nicoddemus nicoddemus merged commit 26a29bd into pytest-dev:main Oct 10, 2024
@patchback
Copy link

patchback bot commented Oct 10, 2024

Backport to 8.3.x: 💚 backport PR created

✅ Backport PR branch: patchback/backports/8.3.x/26a29bdade7efccdf6233942749f02cef57ce694/pr-12866

Backported as #12870

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Oct 10, 2024
Co-authored-by: Bruno Oliveira <bruno@soliv.dev>
(cherry picked from commit 26a29bd)
nicoddemus pushed a commit that referenced this pull request Oct 10, 2024
Co-authored-by: Bruno Oliveira <bruno@soliv.dev>
(cherry picked from commit 26a29bd)

Co-authored-by: Stefaan Lippens <soxofaan@users.noreply.github.com>
@soxofaan soxofaan deleted the recwarn-docs branch October 10, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided (automation) changelog entry is part of PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants