Skip to content

Broken in-page links due to incorrect heading IDs #36832

@shusch

Description

@shusch

Code of Conduct

  • I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/fr/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address

Although the example is in French, this problem occurs across all non-English languages.

What part(s) of the article would you like to see updated?

The following in-page links do not work in languages other than English.
https://github.com/github/docs/blob/main/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address.md?plain=1#L36

https://github.com/github/docs/blob/main/data/reusables/user-settings/no-verification-disposable-emails.md

This issue occurs because translated headings are directly used as their element IDs, causing inconsistencies with the links.
It seems that this only affects headings that include Liquid statements.

If the heading element IDs remain unchanged during translation, the links should work correctly.

Additional information

No response

Activity

added
contentThis issue or pull request belongs to the Docs Content team
on Mar 14, 2025
welcome

welcome commented on Mar 14, 2025

@welcome

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

added
triageDo not begin working on this issue until triaged by the team
on Mar 14, 2025
janiceilene

janiceilene commented on Mar 14, 2025

@janiceilene
Contributor

Thanks so much for opening an issue and letting us know @shusch! I'll get this triaged to our localization folks and see what we can do.

added
localizationIssue or PR relating to translation or localization
and removed
triageDo not begin working on this issue until triaged by the team
on Mar 14, 2025
csigs

csigs commented on Mar 15, 2025

@csigs

Thank you for your feedback. We will review the issue (ICX ADO Tracking Reference: 1039281).

deleted a comment from Tehrani77 on Mar 17, 2025
csigs

csigs commented on Apr 13, 2025

@csigs

Thank you for your feedback. We will review the issue (ICX ADO Tracking Reference: 1046038).

github-actions

github-actions commented on May 13, 2025

@github-actions
Contributor

A stale label has been added to this issue and it has been closed, because it has been open for 30 days with no activity. If you think this issue should remain open, please add a new comment.

added
staleThere is no recent activity on this issue or pull request
on May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamlocalizationIssue or PR relating to translation or localizationstaleThere is no recent activity on this issue or pull request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @janiceilene@csigs@shusch

        Issue actions

          Broken in-page links due to incorrect heading IDs · Issue #36832 · github/docs