Skip to content

Conversation

MeGaGiGaGon
Copy link
Contributor

Summary

Fixes #18825

This should make it so that clicking on the top left RUFF in the playground will take you to the docs. Untested locally since I could not figure out how to get npm to install correctly, so hopefully it just works/someone else can test it for me.

I did not add a link to the ty playground since a dedicated docs pages does not exist yet/it still says "ASTRAL" in the corner instead of having a ty logo.

Test Plan

N/A, no functionality/tests affected.

@MeGaGiGaGon MeGaGiGaGon changed the title [playground] Add ruff logo link to Header.tsx [playground] Add ruff logo docs link to Header.tsx Jun 25, 2025
@AlexWaygood AlexWaygood added the playground A playground-specific issue label Jun 25, 2025
@ntBre
Copy link
Contributor

ntBre commented Jun 25, 2025

Thanks, it seems to work for me! I guess you can't really see my cursor, but I'm clicking on the logo in the header.

recording

I'll let Micha take a look just in case there's more subtlety here, but it looks good to me.

@ntBre ntBre requested a review from MichaReiser June 25, 2025 22:23
@MichaReiser
Copy link
Member

Thank you

@MichaReiser MichaReiser merged commit 170ccd8 into astral-sh:main Jun 26, 2025
36 checks passed
@MeGaGiGaGon MeGaGiGaGon deleted the patch-2 branch June 26, 2025 06:54
dcreager added a commit that referenced this pull request Jun 26, 2025
* main:
  [ty] Add regression-benchmark for attribute-assignment hang (#18957)
  [ty] Format conflicting types as an enumeration (#18956)
  [ty] Prevent union builder construction for just one declaration (#18954)
  [ty] Infer nonlocal types as unions of all reachable bindings (#18750)
  [`pyflakes`] Mark `F504`/`F522`/`F523` autofix as unsafe if there's a call with side effect (#18839)
  [`playground`] Add ruff logo docs link to Header.tsx (#18947)
  [ty] Reduce the overwhelming complexity of `TypeInferenceBuilder::infer_call_expression` (#18943)
  [ty] Add subdiagnostic about empty bodies in more cases (#18942)
  [ty] Move search path resolution to `Options::to_program_settings` (#18937)
  [`flake8-errmsg`] Extend `EM101` to support byte strings (#18867)
  Move big rule implementations (#18931)
  [`pylint`] Allow fix with comments and document performance implications (`PLW3301`) (#18936)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
playground A playground-specific issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[wish/feature] Link from playground to docs
4 participants