Skip to content

Conversation

ali90h
Copy link
Contributor

@ali90h ali90h commented Aug 30, 2025

Adds a section to the rustdoc overview explaining that ESLint and TypeScript checks run through tidy in CI, not compiletest. Includes the command to run these checks locally.
This helps contributors understand why their local rustdoc tests might pass but CI fails on frontend linting.

Addresses #2364.

@rustbot
Copy link
Collaborator

rustbot commented Aug 30, 2025

Thanks for the PR. If you have write access, feel free to merge this PR if it does not need reviews. You can request a review using r? rustc-dev-guide or r? <username>.

@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Aug 30, 2025
@ali90h
Copy link
Contributor Author

ali90h commented Aug 30, 2025

r? rustc-dev-guide

@jyn514
Copy link
Member

jyn514 commented Aug 30, 2025

this seems ok to me.
@GuillaumeGomez @jsha do you have time to review this?

@fmease
Copy link
Member

fmease commented Aug 30, 2025

Please don't put it into the GUI test suite file, it's specifically for tests/rustdoc-gui/, nothing else. Please keep the separation. This doesn't belong there.

@ali90h
Copy link
Contributor Author

ali90h commented Aug 30, 2025

Thanks for the feedback. I've moved the content out of the GUI test suite file and into the main rustdoc.md file instead. Also updated the command to use ./x.py test tidy --extra-checks=js and removed the manual linter instructions as suggested.

@ali90h ali90h requested a review from GuillaumeGomez August 30, 2025 17:11
@ali90h ali90h changed the title rustdoc: document ESLint/TSC run via tidy in CI; add local reproduce commands Document rustdoc frontend CI checks Aug 30, 2025
@aDotInTheVoid
Copy link
Member

CC @lolbinarycat

@rustbot

This comment has been minimized.

@ali90h ali90h force-pushed the rustdoc-ci-frontends-note branch from a17f345 to 91f915d Compare August 31, 2025 06:52
@ali90h ali90h force-pushed the rustdoc-ci-frontends-note branch from 91f915d to 0380c32 Compare August 31, 2025 06:55
@ali90h
Copy link
Contributor Author

ali90h commented Aug 31, 2025

Thanks, @lolbinarycat — I updated the patch per your notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants