Here's an example of how I might document a function call to some external API, external library etc. Their API may have T&Cs, or the libary may force me to abide by a license, that's fine, but what about their documentation?
In the below example, I copy an extract verbatim from their website, in order to describe interaction with their code.
Does this qualify as fair use or fall under some other legal provision?
// This is a string from external documentation, copied off a third party website
// It describes something meaningful about the api/dll etc I'm going to be calling here
func (s *foo) GetBars(id int) (Bars) {
// todo implementation
}
The MIT licence, which is pretty permissive, still appears to only apply to the software. I think it's reasonable to include documentation in the same repository as the same "software", but what about supporting documentation on a website? (Note that this argument wouldn't seem to apply to web APIs, lets take Githubs API terms of service as an example, because there is not really any software being licenced.)