<#19309 f-string {doc_url('something')} turns into...
# github-notifications
c
#19309 f-string {doc_url('something')} turns into an emoji when rendering markdown for the readme.com Issue created by AlexTereshenkov Describe the bug I noticed that in 2.16 help there is a weird formatting issue where readme.com markdown rendered shows
{doc_url('something')}
drawn as a URL should be converted to an emoji of sun (Sun (Light Mode))? It seems ubiquitous in the help system; search for "sun" on the web site. An example page: https://www.pantsbuild.org/v2.16/docs/reference-terraform_module#codedependenciescode I can see this for: •
See {doc_url("python-distributions")}.
See {doc_url('plugins-setup-py')} for
See {doc_url('targets')} for
so this must be
doc_url
related. The function itself seems harmless and hasn't changed for a couple of years:
Copy code
def doc_url(slug: str) -> str:
    return f"<https://www.pantsbuild.org/v{MAJOR_MINOR}/docs/{slug}>"
Pants version 2.16 OS Any Additional info I've logged in into the readme.com to see if there's anything there, but it's just plain markdown there with Sun (Light Mode) text already, so it must have been rendered this at the upload time. pantsbuild/pants