-
Notifications
You must be signed in to change notification settings - Fork 136
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
Use correct file locations in the documentation #1637
Conversation
Both automake and cmake builds install the documentation somewhere in <prefix>/share/doc. This fixes the former mention of <prefix>/doc in the avrdude.1 man page FILES section.
@ndim Thanks for looking carefully through the source and matching that with the documentation. Do you want to further progress this PR? I'd be happy to merge this in its current state. |
At this time, this only fixes a single place. That one commit does not depend on anything and can therefore be cherry-picked or merged immediately for 7.3. There is still the main 95% of the work to be done, and I do plan on doing that work, but that will take me several weeks at the minimum, aiming for the next release after 7.3. |
The texinfo documentation documents avrdude, and does so for two different audiences:
So a lot of preprocessing and changing the documentation source is needed. So much work, so little time. |
Side note: if something is difficult to document, perhaps that thing is too difficult and could be simplified. |
Yes, there is a tension between documenting exactly what's the case on a particular installation, but we as AVRDUDE maintainers cannot know where a distro/user puts the files and how they build AVRDUDE. So out of necessity we cannot do much more than handwaving and giving a few general hints... I personally would suggest giving up on this and only correct factual errors in our docu. |
We can definitely put However, I agree that this is too much effort to put in at this time to solve this in a general way. I came to this because I foolishly put the Anyway, for here right now... that one commit in this PR changes Merge and close, please? |
Thanks, will merge at next mergefest. |
@ndim Have you considered a PR that details where This would document where it is in Fedora, remove the necessity to create a Fedora-specific docu, and best of all, remove the risk that the Fedora-specific docu finds its way online where the Fedora context would no longer hold. |
I am patching the avrdude docs which become part of the Fedora package, so I am fine with the docs as they are. I have considered an issue or PR generally about where |
We've introduced that b/c a number of issues were raised that simply came about by using .conf files that were ahead of the avrdude version or by using massively outdated .conf files... |
The avrdude documentation (avrdude.1 man page, avrdude.info page, html+pdf docs) contains references to file locations.
Some of those file locations have changed over time without the documentation completely reflecting those changes, and this PR wants to fix that.