manual: resolve linkgit in glossary data for links in tooltips#2144
Open
pzhlkj6612 wants to merge 3 commits intogit:gh-pagesfrom
Open
manual: resolve linkgit in glossary data for links in tooltips#2144pzhlkj6612 wants to merge 3 commits intogit:gh-pagesfrom
pzhlkj6612 wants to merge 3 commits intogit:gh-pagesfrom
Conversation
* Construct glossay JSON files by Hugo:
* Move "#{lang}.json" from "static/js/glossary/" to "external/docs/data/glossary/"
* Create simple documents to pass the language code at "external/docs/content/js/glossary/#{lang}.html"
* Create a simple template "layouts/js/glossary/single.json.json"
* Add two Playwright test cases.
* CI
* Forget "static/js/glossary".
* Do not check absolute URLs in generated glossay JSON. It didn't work before because of escaped double quotes: `href=\"/`.
* Skip some files for consistency:
* external/docs/data/docs.json
* external/docs/data/glossary/#{lang}.json
Assisted-by: Claude Opus 4.6 via Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Claude <242468646+Claude@users.noreply.github.com>
Co-authored-by: Codex <242516109+Codex@users.noreply.github.com>
Co-authored-by: openai-code-agent[bot] <242516109+Codex@users.noreply.github.com>
Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Mozi <29089388+pzhlkj6612@users.noreply.github.com>
Signed-off-by: Mozi <29089388+pzhlkj6612@users.noreply.github.com>
Contributor
Author
I've run those two workflows "Synchronize with new Git version (if any)" and "Update translated manual pages", and finally get a lot of changes, where:
https://github.com/git/git-scm.com/blob/c0b7cfc55fe6ad45a46d050cd54e885c69e1f7b9/external/docs/sync/git-html-l10n.sha matches the latest l10n commit: jnavila/git-html-l10n@43e818f. That said, we've forgot to |
added 2 commits
March 12, 2026 15:51
Updated via the `update-git-version-and-manual-pages.yml` GitHub workflow.
Updated via the `update-translated-manual-pages.yml` GitHub workflow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
(Copied from the commit message)
href=\"/.Context
Hello!
The "git-foo[1]" links in tooltips are broken. I've fixed it with some help. I use AI, and I've written and tested this for serveral days. I can answer questions.
I have not committed changes in "external/docs/data/docs.json" and "external/docs/data/glossary/#{lang}.json" because:
Here is a screenshots for comparison:
.
Sorry. I thought: is it feasible? Then, tried several ways and finally it works and the implementation looks not so ugly to me.
Please review, thank you in advance.