Skip to content

[Docs][CI] Bump tlcpack-sphinx-addon to restore search result summaries - #19782

Merged
tqchen merged 1 commit into
apache:mainfrom
tlopex:bump-tlcpack-sphinx-addon-search-summary
Jun 15, 2026
Merged

tqchen merged 1 commit into
apache:mainfrom
tlopex:bump-tlcpack-sphinx-addon-search-summary

Conversation

@tlopex

@tlopex tlopex commented Jun 15, 2026

Copy link
Copy Markdown
Member

The docs search page (search.html) showed no per-result summaries and spammed "Failed to execute 'appendChild' on 'Node'" errors in the browser console (#19765). The addon's layout.html omitted the data-content_root attribute that Sphinx >= 7.2 searchtools.js reads via document.documentElement.dataset.content_root to fetch pages and build the summaries; with it undefined the summary fetch resolved to "undefined...html" (404), so no summary rendered and makeSearchSummary returned null into appendChild.

tlc-pack/tlcpack-sphinx-addon#14 adds the attribute. Bump the pin used by the docs (ci_gpu) image from 99c6947 to dded1a3 to pick it up.

The docs search page (search.html) showed no per-result summaries and
spammed "Failed to execute 'appendChild' on 'Node'" errors in the browser
console (apache#19765). The addon's layout.html omitted the
data-content_root attribute that Sphinx >= 7.2 searchtools.js reads via
document.documentElement.dataset.content_root to fetch pages and build the
summaries; with it undefined the summary fetch resolved to
"undefined...html" (404), so no summary rendered and makeSearchSummary
returned null into appendChild.

tlc-pack/tlcpack-sphinx-addon#14 adds the attribute. Bump the pin used by
the docs (ci_gpu) image from 99c6947 to dded1a3 to pick it up.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the commit hash of the tlcpack-sphinx-addon package in the Ubuntu Sphinx installation script (docker/install/ubuntu_install_sphinx.sh) to dded1a3fbaf549485d8f7bb3f79ecb0484a11629. There are no review comments, so I have no additional feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@tqchen
tqchen merged commit 7655c99 into apache:main Jun 15, 2026
10 checks passed
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