Repository navigation
[Docs] Add trendshift badge - #59038
NellyWhads wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
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.
81d84e1 to
445140d
Compare
|
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! |
445140d to
e9103e4
Compare
|
This pull request has been automatically marked as stale because it has not had 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. |
…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]>
Description
Related issues
Additional information