Closed ryzenpay closed 2 months ago
Thanks for reporting. Unfortunately, this is an upstream issue that was caused by a legal dispute. Thus, it's probably best to complain at Microsoft, as they do not want their icons to be part of the Simple Icons set.
Can't help but add my 2p here as well, regarding the proposed solution. IMHO it is better to let a build fail than to have output that is not as desired. Some action will need to be taken and while it may be annoying to be forced into it, better get it over with than incur the debt. As I said, just my 2p.
This is wider issue, btw., that some companies do not allow use of their icons and ask Simple Icons to remove them. Oracle is another example and it seems Adobe belong in this group, too. I know what I would map all of the removed icons to...
Also note that the icon integration is implemented with the limited capabilities we have in Jinja – we can only include the icon or fail if it doesn't exist, and Jinja does not allow to provide a detailed error message. @alexvoss we should look into moving the icons out of core in the future, so that the icon version can be updated/pinned separately. This should make builds much more stable. Same goes for other third-party bundled assets.
Context
I had mkdocs serving on a persistant storage on an RKE cluster. i made some changes to a script that was running within and ended up deleting the persistant volume. this made the docker image pull from git again, and continued to crash the startup of the wiki because i was using the icon "simple/outlook" which can now no longer be found on the github either. I was making this to make error handling for a situation where the icon does not exist and it replaces it with a default rather than fully stop the mkdocs from starting up.
Bug description
I was making this to make error handling for a situation where the icon does not exist and it replaces it with a default rather than fully stop the mkdocs from starting up. Adding to this, the error message it does provide only links to the "index" page where the sub pages are first referenced, which initially made it difficult to find.
dump of the error log:
Related links
Reproduction
As the mkdocs contains sensitive information i cannot provide a zip, but attempt to use the icon "simple/outlook" and you will receive the same error
Steps to reproduce
As the mkdocs contains sensitive information i cannot provide a zip, but attempt to use the icon "simple/outlook" and you will receive the same error
Browser
No response
Before submitting