Add LibreJS and SPDX license headers to bundled JavaScript files#14351
Open
coder999999999 wants to merge 1 commit intosphinx-doc:masterfrom
Open
Add LibreJS and SPDX license headers to bundled JavaScript files#14351coder999999999 wants to merge 1 commit intosphinx-doc:masterfrom
coder999999999 wants to merge 1 commit intosphinx-doc:masterfrom
Conversation
Add machine-readable license information to the three JavaScript files shipped with the basic Sphinx theme: - doctools.js - searchtools.js - sphinx_highlight.js Each file now includes: - SPDX-FileCopyrightText and SPDX-License-Identifier headers per the REUSE specification (https://reuse.software/) - @license / @license-end tags per the GNU LibreJS specification (https://www.gnu.org/software/librejs/) using the BSD-2-Clause magnet link This allows LibreJS to recognize Sphinx-generated JS as freely licensed, instead of blocking it as non-free. Closes sphinx-doc#12323
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #12323
Adds machine-readable license information to the three JavaScript files shipped with the basic Sphinx theme (
doctools.js,searchtools.js,sphinx_highlight.js).Each file now includes:
SPDX-FileCopyrightTextandSPDX-License-Identifier: BSD-2-Clause) per the REUSE specification@license/@license-end) with the BSD-2-Clause magnet link per the GNU LibreJS formatThis allows LibreJS (a browser extension that verifies JavaScript is free software before running it) to recognize Sphinx-generated JS as freely licensed instead of blocking it.
The magnet link
magnet:?xt=urn:btih:87f119ba0b429ba17a44b4bffcab33165ebdacc0&dn=freebsd.txtcorresponds to the BSD-2-Clause license in the LibreJS license list.