Skip to content

[Docs] Add trendshift badge - #59038

Open
NellyWhads wants to merge 1 commit into
ray-project:masterfrom
NellyWhads:repository_badge
Open

NellyWhads wants to merge 1 commit into
ray-project:masterfrom
NellyWhads:repository_badge

Conversation

@NellyWhads

@NellyWhads NellyWhads commented Nov 27, 2025 •

Copy link
Copy Markdown

Thank you for contributing to Ray! 🚀
Please review the Ray Contribution Guide before opening a pull request.

⚠️ Remove these instructions before submitting your PR.

💡 Tip: Mark as draft if you want early feedback, or ready for review when it's complete.

Description

Show off the Trendshift repository badge

Related issues

No issues. Only opportunities.

Additional information

Community validation for an awesome project.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds a Trendshift badge to the README.rst file. The implementation is functionally correct. However, for better consistency with how other badges are defined in this file, I've suggested defining the image directive inline rather than using a substitution. This will make the document easier to maintain.

Comment thread README.rst Resolved
Comment thread README.rst Resolved
@NellyWhads
NellyWhads force-pushed the repository_badge branch 2 times, most recently from 81d84e1 to 445140d Compare November 27, 2025 15:29
@NellyWhads

Copy link
Copy Markdown
Author

Badge likely needs some better placement - happy to nudge it around a little if there's a more appealing place for it.

Just offering some front page recognition for all the great work!

@ray-gardener ray-gardener Bot added core Issues that should be addressed in Ray Core community-contribution Contributed by the community labels Nov 27, 2025
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had
any activity for 14 days. It will be closed in another 14 days if no further activity occurs.
Thank you for your contributions.

You can always ask for help on our discussion forum or Ray's public slack channel.

If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@github-actions github-actions Bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Dec 12, 2025
@codope codope added docs An issue or change related to documentation and removed core Issues that should be addressed in Ray Core labels Dec 18, 2025
@github-actions github-actions Bot added unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it. and removed stale The issue is stale. It will be closed within 7 days unless there are further conversation labels Dec 18, 2025
dstrodtman added a commit that referenced this pull request Nov 2, 2026
…own (#66811)

## Description

Converts the repo-root `README.rst` to Markdown. It also converts the
remaining `.rst` READMEs and design notes outside `doc/`, which moved
here from #66664 so that PR doesn't wait on library code-owner
approvals. Unlike those files, `README.rst` is a packaging input.

### Root README

- `README.rst` becomes `README.md`. Images and badges become linked
Markdown images, named hyperlink targets are inlined, and the "Getting
Involved" `list-table` becomes a pipe table. The unused `Workflow`
target, which nothing referenced, is dropped.
- `python/setup.py` reads `README.md` and sets
`long_description_content_type="text/markdown"`, so PyPI renders it as
Markdown.
- `lint: doc_readme` (`ci/lint/lint.sh`) drops `--restructuredtext` and
its `docutils` install, and keeps `setup.py check --strict --metadata`.
`--restructuredtext` parses the long description as RST whatever its
content type, so it fails on the Markdown file. PyPI doesn't reject a
Markdown long description the way it rejects invalid RST, so the
remaining check covers the metadata. The step's tag and trigger are
unchanged.
- `ci/docker/ray-wheel.Dockerfile`,
`ci/docker/ray-cpp-wheel.Dockerfile`, and the `srcs` of the three wanda
configs that listed `README.rst` (`min.build`, `ray-wheel`,
`ray-cpp-wheel`) now name `README.md`.
- `.buildkite/always.rules.txt` and `always.rules.test.txt` move the
`pypi_readme` trigger from `README.rst` to `README.md`. The comments in
those files and in `lint.rayci.yml` now describe the metadata-only
check.

### READMEs and design notes outside `doc/`

These moved here from #66664. They cover `python/ray/autoscaler/`,
`python/ray/dashboard/client/`, `python/ray/rllib/core/models/`,
`python/ray/tune/`, `python/ray/tune/examples/`,
`release/long_running_tests/`, and `src/ray/design_docs/`
(`actor_states`, `task_states`). Two commits: a pure `git mv` so history
follows each file, then the markup conversion. The rename commit also
updates the two `.buildkite/test.rules.test.txt` expectations that name
`tune/README` and `task_states`. Both paths still hit the repo-wide
prose skip, which matches `*.md` as well as `*.rst`. Two of the files
needed no markup change: `autoscaler/README` was already Markdown inside
an `.rst`, and `rllib/core/models/README` is plain text. A follow-up
commit fixes typos and formatting carried over from the `.rst` sources,
and points the `custom_func_checkpointing` link in the Tune examples
README at `custom_func_checkpointing.py` instead of
`logging_example.py`.

## Not a duplicate

No open PR converts `README.rst`. Searches for `README.rst`,
`README.md`, `long_description`, and `readme markdown` return no
overlapping work. An earlier version of this PR also converted
`CONTRIBUTING.rst`. That conversion now lives in #67116, which also
updates the file's content, so this PR leaves `CONTRIBUTING.rst` alone.
Among the 400 most recent open PRs, #59038 (adds a badge, last updated
2025-12-18) edits `README.rst` and would need to move its change to
`README.md`. Several open PRs touch `python/setup.py`, but on unrelated
lines. For the READMEs and design notes, no open PR touches any of the
changed paths.

## Testing

- Rendered `README.rst` with docutils and `README.md` with a CommonMark
parser, then compared the visible text, link targets, and image sources.
All three match.
- In a Python 3.11 venv, from `python/`:
- `python setup.py check --strict --metadata` (the new lint command)
exits 0.
- `python setup.py check --restructuredtext --strict --metadata` (the
old command) exits 1 on the Markdown README with `Line block ends
without a blank line`. That confirms the lint step had to change.
- Ran `rayci test-rules` (built from `ray-project/rayci` at `ef6403a`)
on this branch and it passed. As a negative control, removing
`pypi_readme` from the `README.md` expectation made it fail.
- READMEs and design notes: rendered each `.rst` with docutils and each
`.md` with a CommonMark parser, then compared the visible text and link
targets. They match, with two exceptions. The TensorFlow URL in
`tune/examples/README` is a bare URL, which GitHub autolinks.
`long_running_tests/README`'s "Anyscale UI" link had malformed RST
markup with no trailing underscore, so it rendered the raw URL. It's now
a working link.
- `pre-commit` passed on every commit.
- Not run locally: the wheel image builds that copy `README.md`.
Premerge builds them.

This PR was prepared with AI assistance (Claude Code). I reviewed every
changed line.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Douglas Strodtman <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community docs An issue or change related to documentation unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants