godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.92k stars 3.2k forks source link

Clarify usage guidelines / licensing for code examples in the tutorials/classref #2772

Open akien-mga opened 5 years ago

akien-mga commented 5 years ago

While the documentation's text overall is covered by a CC-BY 3.0 license, which means that proper attribution should be given when reusing its content, we should clarify whether this applies to code examples given in tutorials and the class reference.

As it is right now, the license is the same for everything, so for small snippets one could say that fair use means no attribution needed, but for longer (e.g. 50 lines) scripts it's a bit tougher.

IMO we should specify in the About section and in the copyright headers that all code blocks in the documentation are to be considered under Public Domain (or CC0 where PD does not apply), so that users can copy/paste documentation examples without having to bother with giving attribution.

WDYT?

Calinou commented 5 years ago

I agree with licensing code samples under CC0. However, we'll have to ask people who contributed substantial code examples.

Vennnot commented 1 year ago

If the code examples exist publicly in the documentation, it'll be difficult to chase down those who contribute it all the code. I'd vote for making all of the code public domain right now.