-
-
Notifications
You must be signed in to change notification settings - Fork 379
Fix missing favicon.ico in offline documentation #4214
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
Conversation
Thanks for your pull request and interest in making D better, @Prthmsh7! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the fix!
chmgen.d
is only used to generate a .chm
file. It is not used for building the HTML documentation described in #4003.
I am not sure if .chm
files can have an icon. Have you tested this patch and confirmed that it is a user-visible change? If so, it would be helpful to understand the details.
We also use changelog entries for high-visibility changes with a significant user impact. As I don't believe a favicon fix falls in that category, you can delete the changelog entry file.
Thank you for submitting this pull request. After further review of these changes, it appears they are nonsensical, clearly generated using an LLM or similar automated tool, and have obviously not been tested by a human. The PR does not solve any real problem and instead wastes valuable time for our maintainers and reviewers. Please ensure that any changes submitted to this project are manually tested by a human being to confirm they solve an actual, identified issue. If you wish to use automated tools (such as language models or AI-assisted code generators), please clearly disclose this up front and discuss your approach with the project maintainers/community before submitting a PR. You can find a list of contact points for the community on the language's website. Submitting auto-generated, unverified code without appropriate disclosure shows disrespect for the maintainers' time and reduces the quality of contributions to the project. We greatly appreciate your future cooperation in maintaining a collaborative and effective contribution process. |
I'm really sorry if I made any mistake. I'll take a note to not use any LLM references in the future contributions. |
Fixes #4003
This PR addresses the issue #4003 by explicitly ensuring that the favicon.ico file is properly copied to the root of the offline documentation directory. The fix adds code to the
tools/chmgen.d
file to specifically handle the favicon.ico file. Basically the changes are:tools/chmgen.d
to add explicit code that copies the favicon.ico file to the offline documentation root directory.