Skip to content

redirect all *.ico paths to /favicon.ico #340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 3, 2019

Conversation

QuietMisdreavus
Copy link
Member

Closes #330

This is an alternate version of that PR that routes ICO files to the default favicon instead of modifying documentation pages on-the-fly to remove the reference to the nonexistent favicon.

several rustdoc versions try to use rustdoc's built-in favicon, which
overrides docs.rs's own favicon. instead of modifying these pages to
remove the reference to their favicon, instead redirect them to the
main favicon
@QuietMisdreavus
Copy link
Member Author

Coming back to this PR, i want to take this version over the one in #330 (or a potential future one to use a planned CLI flag in rustdoc). This is probably the least invasive and least complicated way to load the favicon in, even if it creates more redirects.

@QuietMisdreavus QuietMisdreavus merged commit e3b022e into rust-lang:master May 3, 2019
@QuietMisdreavus QuietMisdreavus deleted the favicon branch May 3, 2019 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant