question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong favicon.ico in _site

See original GitHub issue

Title

Wrong favicon.ico in _site

Functional impact

The generated _site contains the wrong favicon.ico when _appFaviconPath is specified in docfx.json.

Minimal repro steps

  1. Add your own favicon.ico to ./images
  2. Add _appFaviconPath to docfx.json

Expected result

My ./images/favicon.ico should be copied to _site.

Actual result

The default docfx favicon.ico is copied to _site.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:27 (22 by maintainers)

github_iconTop GitHub Comments

4reactions
superyyrrzzcommented, Oct 11, 2017

@smaillet Thank you for your comments and it’s really convincing. It makes sense for content to overwrite template. I will fix it. @emrgee After the fix, _appFaviconPath is not needed. Adding a resource is sufficient:

"resource": [
  {
    "files": ["favicon.ico"]
  }
]
0reactions
paulushubcommented, Jul 29, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Search results showing wrong site icon for my ...
The problem with reindexing the Favicon, is that it's not something Google expects to change very often, so checking it has altered is,...
Read more >
Google Chrome displays the wrong favicon that I've linked ...
Try renaming your favicon file to be favicon.ico and putting it in the root (/) directory.
Read more >
How to fix favicon.ico error: "Failed to load resource: net
The thing is that /favicon.ico is always requested automatically by browsers or servers, nowadays, if there is no <link rel="shortcut icon"> .
Read more >
Incorrect favicon in the site selector · Issue #675
This is incorrect. The proper behavior is as follows: Try to get the file favicon.ico from the site directory where the login page...
Read more >
Why Google Chrome Is Showing The Wrong Favicon
One possibility is that the website's server is configured to not serve favicons. Another possibility is that the favicon is not in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found