Merge pull request #12669 from ethereum/unlicense_docs

docs: note on invalid SPDX `UNLICENSED`
This commit is contained in:
Leo 2022-02-14 20:55:48 +01:00 committed by GitHub
commit 4ee9846d06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,9 @@ it does include the supplied string in the :ref:`bytecode metadata <metadata>`.
If you do not want to specify a license or if the source code is
not open-source, please use the special value ``UNLICENSED``.
Note that ``UNLICENSED`` (no usage allowed, not present in SPDX license list)
is different from ``UNLICENSE`` (grants all rights to everyone).
Solidity follows `the npm recommendation <https://docs.npmjs.com/cli/v7/configuring-npm/package-json#license>`_.
Supplying this comment of course does not free you from other
obligations related to licensing like having to mention