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

Support LibreJS in HTML - machine readable license #12323

Open
prosaole opened this issue Apr 24, 2024 · 1 comment
Open

Support LibreJS in HTML - machine readable license #12323

prosaole opened this issue Apr 24, 2024 · 1 comment
Labels
easy issue that can be solved by beginners good first issue type:enhancement enhance or introduce a new feature

Comments

@prosaole
Copy link

LibreJS (https://www.gnu.org/software/librejs/) is a plug-in that check if the Java-Script is free software before running it.

Sphinx generates Java-Script that is free software, but LibreJS cannot see that, and therefore treats this as non-free.

There are several ways to tell LibreJS the license, but the easiest is probably to add a line in each script like this:

// @license magnet:?xt=urn:btih:87f119ba0b429ba17a44b4bffcab33165ebdacc0&dn=freebsd.txt

(Full list of licenses https://www.gnu.org/software/librejs/manual/html_node/Setting-Your-JavaScript-Free.html#License-tags)

And while we are on the subject of machine readable licenses: To support https://reuse.software/ it might make sense to also add:

// SPDX-FileCopyrightText: 2024 Foo Bar
// SPDX-License-Identifier: BSD-2-Clause

See full list on https://spdx.org/licenses/

@prosaole prosaole added the type:proposal a feature suggestion label Apr 24, 2024
@picnixz
Copy link
Member

picnixz commented Apr 25, 2024

PR is welcomed ! I think we can follow the guidelines that are suggested.

@picnixz picnixz added type:enhancement enhance or introduce a new feature easy issue that can be solved by beginners good first issue and removed type:proposal a feature suggestion labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy issue that can be solved by beginners good first issue type:enhancement enhance or introduce a new feature
Projects
None yet
Development

No branches or pull requests

2 participants