Skip to content
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

Feature Request: Add @license keyword #37

Open
JonTheNiceGuy opened this issue Jul 16, 2021 · 2 comments
Open

Feature Request: Add @license keyword #37

JonTheNiceGuy opened this issue Jul 16, 2021 · 2 comments

Comments

@JonTheNiceGuy
Copy link

It would be useful to have a file-level @license keyword, e.g. @license MIT or @license [WTFPL](LICENSE.md)

@hyperupcall
Copy link
Contributor

hyperupcall commented Apr 9, 2022

This is an interesting idea, but I'm not sure how useful this is, as license parsers already determine the license from comments. I personally wouldn't want to add a feature that is already replaceable with an existing thing

@rbairwell
Copy link
Contributor

I'd appreciate this feature as well - if only to reduce the number of parsers needed for a file and secondly so I hardly need to think which language I'm writing documentation for (as I'm from a PHP background I tend to use PHPDoc which does support @license - but both PHPDoc and SHDoc seem to be JavaDoc inspired which - admittedly - doesn't appear to support it)

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

No branches or pull requests

3 participants