Skip to content

fix(docs): avoid EasyList hiding desktop-notifications heading - #493

Open
SatvikMishra08 wants to merge 1 commit into
ghostty-org:mainfrom
SatvikMishra08:fix/387-desktop-notifications-toc
Open

SatvikMishra08 wants to merge 1 commit into
ghostty-org:mainfrom
SatvikMishra08:fix/387-desktop-notifications-toc

Conversation

@SatvikMishra08

Copy link
Copy Markdown

Summary

The config reference heading for desktop-notifications used the HTML id #desktop-notifications. EasyList / Fanboy Annoyances ships a global cosmetic filter ###desktop-notifications (notification-permission nags), so with uBlock Origin enabled the section is hidden and the TOC link does nothing — as reported in #387.

This remaps that heading id to config-desktop-notifications in the shared heading-id helpers (TOC + rendered anchors). The displayed option name is unchanged.

Fixes #387

Test plan

  • With uBlock Origin (default EasyList/annoyances) enabled, open /docs/config/reference and confirm the desktop-notifications heading is visible
  • Click the TOC entry and confirm it scrolls to the section
  • Confirm other heading anchors still match their previous ids

EasyList/Fanboy Annoyances ships a global ###desktop-notifications
cosmetic filter for notification-permission nags. That same id is used
for the config reference heading, so uBlock users never see the section
and the TOC link is a no-op (ghostty-org#387).

Remap the heading id to config-desktop-notifications while keeping the
displayed option name unchanged.

Fixes ghostty-org#387
@vercel

vercel Bot commented Oct 9, 2026

Copy link
Copy Markdown

@SatvikMishra08 is attempting to deploy a commit to the Ghostty Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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.

[ BUG ] desktop-notifications link in reference page is broken

1 participant