Question: Question:
I'm writing a technical text on programming. Let me ask you about the license of the text you wrote.
The technical texts of programming include source code and commentary texts and charts for the source code, but I would like to have a separate license for each.
Source code: CC0 (Public domain)
Commentary texts and charts: CC-BY
There are licenses such as GPL and MIT in the source code, but here I would like to attach CC0 (Public Domain) that does not need to display the copyright when redistributing.
On the other hand, I would like to attach a CC-BY license that requires copyright notice to texts and charts.
In this case, how should the license be stated?
Isn't this kind of license allowed in the first place?
I've just started learning about licensing and don't know much about it, so I'd appreciate it if you could teach me.
Answer: Answer:
I think you should specify the appropriate license in the technical document and source code. The following is an example of Go language, but it is clearly stated that the content of the website (text and figures) is CC3.0 and the source code is BSD license.
Except as noted, the content of this page is licensed under the
Creative Commons Attribution 3.0 License, and code is licensed under a
BSD license.
https://golang.org/ (There is a description in the footer)
https://go.googlesource.com/go/+/master/LICENSE (LICENSE file in the source code repository)