Skip to content

mdbook-html: Account for licenses of bundled JavaScript libraries and artwork#3144

Open
decathorpe wants to merge 2 commits into
rust-lang:masterfrom
decathorpe:master
Open

mdbook-html: Account for licenses of bundled JavaScript libraries and artwork#3144
decathorpe wants to merge 2 commits into
rust-lang:masterfrom
decathorpe:master

Conversation

@decathorpe

Copy link
Copy Markdown

This is an attempt to address issue #2956

The first commit adds the missing license texts:

  • The MIT and BSD-3-Clause license texts are taken verbatim from the respective projects.
  • The CC-BY-4.0 license text is the canonical copy from creativecommons.org.

favicon license (canonical copy of the CC-BY-4.0 text):
https://creativecommons.org/licenses/by/4.0/legalcode.txt

clipboard.js license text:
https://github.com/zenorocha/clipboard.js/blob/v2.0.5/LICENSE

highlight.js license text:
https://github.com/highlightjs/highlight.js/blob/10.1.1/LICENSE

elasticlunr.js license text:
https://github.com/weixsong/elasticlunr.js/blob/v0.9.5/LICENSE

mark.js license text:
https://github.com/julkue/mark.js/blob/8.11.1/LICENSE

The second commit updates the package.license of the mdbook-html crate to account for all included code and content.

Licenses covering bundled JavaScript libraries:

- ace.js: BSD-3-Clause
- clipboard.js: MIT
- elasticlunr.js: MIT
- highlight.js: BSD-3-Clause
- mark.js: MIT

Licenses covering bundled content / fonts:

- favicon: CC-BY-4.0
- open-sans: Apache-2.0
- source-code-pro: OFL-1.1
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: waiting on a review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants