arcade icon indicating copy to clipboard operation
arcade copied to clipboard

Doc bug: Link color of types in docstrings is an inactive color instead of matching signatures

Open pushfoo opened this issue 1 year ago • 0 comments

Bug Report

This is a teething issue for the new theme customization on the tip of development.

Actual behavior:

Type reference links are rendered as gray instead of matching the blue used for types in signatures.

Live Example:

The SpriteList here is gray: image image

Second local example:

str is a gray color, which looks inactive / unclickable: image

Expected behavior:

str uses the same color as Any and bool in the signature.

Note that type cross-reference links matched color with the signatures on the 2.6 doc: image

For evidence:

  1. Got to https://api.arcade.academy/en/latest/api/sprites.html#arcade-sprite
  2. Scroll down to the texture field as in the image

Steps to reproduce/example code:

  1. Go to https://api.arcade.academy/en/development/api_docs/api/sprites.html#arcade.Sprite
  2. Look at the top-level docstring
  3. Hover over the SpriteList link here: image
  4. Observe that it is indeed a clickable type reference link
  5. Move the mouse to the lower right-hand corner to the dark / light toggle here: image
  6. Observe the color is still gray: image

pushfoo avatar Jul 21 '24 06:07 pushfoo