NVFlare
NVFlare copied to clipboard
Sphinx 8 documentation build fails on untitled GitHub source links in main
The github_nvflare_link extlink in docs/conf.py uses an empty caption template. With Sphinx 8, an untitled use of this role raises TypeError: not all arguments converted during string formatting, so the HTML documentation build fails on main.
Set the caption template to %s so untitled links display their target path. Explicitly titled links should keep their supplied title, and the link URL should remain unchanged. This ports the fix already merged into the 2.9 branch in PR #5510.
Acceptance: build the HTML docs with Sphinx 8; verify untitled and explicitly titled github_nvflare_link roles render correctly.