I have an Elixir project, I want to license the software under AGPLv3. The code have module attributes that's doc strings used to generate the documentation. Then, can the documentation (and then the doc string content only) be under CC-BY 4.0 in same time?
To add context:
- Elixir is a programming language to run in Erlang virtual machine.
- Doc string is a module value used to generate documentation, it's not a comment but it's in the code, but even the syntax is different than a comment.
- With that module attributes other software like ExDoc can generate HTML documentation, for example.
To more context see Elixir module attributes where explain about doc annotation.