I am currently writing a technical document with various code listings and diagrams.
I would like to release the actual text under the
GNU-FDL license, while keeping the code listings under
GNU-GPL V3.0 or later.
From what I have read, I am in my right to release my work under multiple licenses.
My question is now, how do I include the licenses in the repository and document. And how do I state what is released under which license?
My first attempt at writing a license notice led me to the following:
This document is released under the GNU-FDL license.
While all included code listings are released under the GNU-GPL V3.0+ license.
<links to the individual license texts>
I have also read a little bit about the
CC BY-SA 4.0 license, but I am less familiar with it.
Any feedback and suggestions will be greatly appreciated!