Skip to content

Add underlines to links in prose - #1269

Merged
microbit-matt-hillsdon merged 2 commits into
mainfrom
link-underlines
Aug 21, 2026
Merged

Add underlines to links in prose#1269
microbit-matt-hillsdon merged 2 commits into
mainfrom
link-underlines

Conversation

@microbit-robert

@microbit-robert microbit-robert commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Bumps ui and ui-patterns to 0.2.0. The ui library includes a new
link recipe underlined by default with a standalone variation
which are used in this PR.

Visual changes (all were underline on hover to permanently underlined):

Documentation sidebar

  • Reference section prose: all three link types from the Sanity content — external links, internal cross-references, and API links (DocumentationContent's link marks)
  • API section: the description's "MicroPython" link at the top (ApiDocumentation), and any URLs inside docstrings (DocString — e.g. the music/speech/neopixel module docs)

Dialogs

  • About dialog: contributors link, micropython.org link, the two GitHub source links, and the whole-sentence "story of MicroPython" link
  • Welcome dialog: the guide link
  • Post-save dialog: the "transfer hex" help link
  • Not-found connect dialog: both checklist links and the standalone "troubleshoot" link
  • Firmware-update dialog: the firmware guide link and its "troubleshoot" link

Editor and toasts (corrected)

  • Module overlay (third-party module files): the "settings" link-button in the how-to sentence
  • Project-load toast: the MakeCode link in the load-error message

Other changes, e.g., the use of the standalone variant are to preserve the current behaviour for standalone links not in prose.

@github-actions

Copy link
Copy Markdown

Preview build will be at
https://review-python-editor-v3.microbit.org/link-underlines/

Comment thread src/documentation/common/DocString.tsx Outdated
Bumps ui and ui-patterns to 0.2.0. The ui library includes a new
link recipe underlined by default with a standalone variation
which are used in this PR.
@microbit-robert microbit-robert changed the title Link underlines - WIP Add underlines to links in prose Aug 21, 2026
@microbit-robert
microbit-robert marked this pull request as ready for review August 21, 2026 13:01
@microbit-matt-hillsdon
microbit-matt-hillsdon merged commit ce39995 into main Aug 21, 2026
1 check passed
@microbit-matt-hillsdon
microbit-matt-hillsdon deleted the link-underlines branch August 21, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants