Add copyright headers along with Furo license (Cherry-pick of #464) #467
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.
Adds Furo license
It's extra safe to do this because we vendor about 6 files from Furo.
We use the prior art of Pytorch of including the license directly in
LICENSE
at the bottom. Pytorch is also an MIT license and we substantially vendored it, so it's a similar setup.Fixes LICENSE inclusion
The switch to
pyproject.toml
accidentally changed us including the LICENSE file to instead have the textApache 2
.Adds copyright file headers
We should have been doing this from the start because Qiskit projects are expected to put copyright headers on every file. This becomes especially useful if we more substantially vendor Furo code in #463 to make clear what is what.
All files that are originally written by Qiskit contributors use the standard Apache 2 license we already use in this project.
Meanwhile, files that are vendored from Furo now use this standard notice:
Even though the MIT license does not require file headers, and Furo itself does not use it, it is a good practice to make clear what originally comes from Furo.
Also renames
search_sidebar.html
This file is vendored from Furo, but we had it under
custom_templates/search_sidebar.html
rather than the originalsidebar/search.html
. This PR renames the file so that we more properly attribute Furo and the MIT license.