Bug 505357 - favicon missing on api.kde.org
Summary: favicon missing on api.kde.org
Status: CONFIRMED
Alias: None
Product: frameworks-kapidox
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-08 22:13 UTC by John Veness
Modified: 2025-06-09 10:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Veness 2025-06-08 22:13:09 UTC
SUMMARY
When viewing a page such as https://api.kde.org/frameworks/ki18n/html/prg_guide.html there is no "favicon" (the icon in the tab). Looking at the source, the file is missing on the site.

STEPS TO REPRODUCE
1. Browse to https://api.kde.org/frameworks/ki18n/html/prg_guide.html in desktop Firefox
2. Look at the tab for the page

OBSERVED RESULT
There is no icon in the tab.

EXPECTED RESULT
A KDE-specific icon in the tab.

ADDITIONAL INFORMATION
Looking at the page source, I see there are references to "../../../resources/favicon.ico", which resolves to https://api.kde.org/resources/favicon.ico, but that address 404s.
Comment 1 Ömer Fadıl USTA 2025-06-09 04:35:59 UTC
There are two possible ways to fix this :
1-  https://invent.kde.org/frameworks/kapidox/-/blob/master/kapidox/data/templates/base.html#L17 and L18 should remove {{resources}} parts
2- Which is much better to keep compatibility 
change os.rename to shutil.copy in https://invent.kde.org/frameworks/kapidox/-/blob/master/kapidox/hlfunctions.py#L59
Comment 2 Ben Cooksley 2025-06-09 10:31:09 UTC
The current api.kde.org site is planned to be replaced by a new version based on QDoc so this is probably something we should look at is ensuring is fixed under QDoc - as the current site can no longer be built following the merge of the QDoc changes to Frameworks.