-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
README.md~ (editor backup file of README.md) is parsed rather than README.md #777
Comments
|
backup file is like README~ or README.md~. This file should not be chosen when generating docs by yard. References lsegal#777
That's true! Thank you for your comment. So, I change my glob pattern as follows:
and put "pull rquest" as above. Please consider it |
Resolved by #790. Thanks for putting together this patch @fuminori-ido! |
Hi, YARD is much better documentation tool, thank you.
When I generated a ruby project doc by YARD, old README.md was always used.
I used --no-cache option and/or remove .yardoc/ directories, but still old README.md was used.
Finally, I understood the reason. lib/yard/cli/yardoc.rb 277-th lines is as follows:
Unfortunately, README.md~ (backup file my editor is generated) is chosen for the readme file. That was the reason why generated README was old one.
I think tilde is used some major editors like Emacs so that this issue is not for only me.
Could you change like the following?:
or, explicitly document that backupfile like README.md~ should be delete before running YARD?
The text was updated successfully, but these errors were encountered: