docs: note on invalid SPDX UNLICENSED

https://github.com/ethereum/solidity/issues/12251
This commit is contained in:
Aleksey Bykhun 2021-12-11 16:44:27 +08:00 committed by Leo Alt
parent e3e77c0f01
commit 408b8e2f76

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