-
Notifications
You must be signed in to change notification settings - Fork 313
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
Link to license and changelog in overview #564
Conversation
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.
Thanks a lot for the PR @cuihtlauac!
The approach looks great overall, I left a few comments with suggestions.
Fix #36 Display links to change log, readme, license in overview. Also displays licence name.
Skip changelog section if CHANGES.md file is missing
Some packages store their changelog in a file named CHANGES instead of CHANGES.md. This allows to handle both cases.
Both changelog and license file name candidates are searched: * as plain text file (i.e. without extension) * as markdown file (i.e. with .md extension). Searched base name candidates are: * License: LICENSE * Changelog: CHANGES and CHANGELOG In case other base names are missing, just add them to the list. If either changelog or license is missing, no link will be inserted in the overview.
Thanks @cuihtlauac! I took the liberty to push 67eb6e9 with some cosmetic changes, essentially to rename the |
Excellent, maybe_files is indeed much better your way, many thanks. Let's go for this |
Display links to change log, readme, license in package overview. Also displays licence name. Co-authored-by: Cuihtlauac ALVARADO <cuihtmlauac@tarides.com> Co-authored-by: Thibaut Mattio <thibaut.mattio@gmail.com>
Fix #36
Display links to changelog and license in overview, if available.