Skip to content

Contributor guide: document sources of autogenerated reference docs#490

Merged
sharkdp merged 1 commit intoastral-sh:mainfrom
brainwane:contributing-docs-autogen
May 23, 2025
Merged

Contributor guide: document sources of autogenerated reference docs#490
sharkdp merged 1 commit intoastral-sh:mainfrom
brainwane:contributing-docs-autogen

Conversation

@brainwane
Copy link
Copy Markdown
Contributor

Summary

Explain in CONTRIBUTING.md that some ty help text and reference documentation result from source code that lives in Ruff, and point to sources, to help tech writer contributors.

Inspired by my stumble in #478 and subsequent pointers in astral-sh/ruff#18246 .

Test Plan

I used git grep to search the Ruff repository for several chunks of the prose in docs/reference/ to verify which source code contains text that turns into the autogenerated docs. I pushed my branch to GitHub and manually checked that the formatting and hyperlinks were correct.

@brainwane brainwane marked this pull request as draft May 22, 2025 18:54
@AlexWaygood AlexWaygood added the documentation Improvements or additions to documentation label May 22, 2025
Explain that some ty help text and reference documentation result
from source code that lives in Ruff, and point to sources,
to help tech writer contributors.
@brainwane brainwane force-pushed the contributing-docs-autogen branch from fc8d8da to 730a68f Compare May 23, 2025 05:41
@brainwane brainwane marked this pull request as ready for review May 23, 2025 05:44
@brainwane brainwane mentioned this pull request May 23, 2025
Copy link
Copy Markdown
Contributor

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

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

Thank you.

@sharkdp sharkdp merged commit 55b4120 into astral-sh:main May 23, 2025
10 checks passed
@brainwane brainwane deleted the contributing-docs-autogen branch May 23, 2025 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants