Documentation content follows the same rules as Q&A.
The Content Policy explains:
Copyright. Using copyrighted material does not constitute infringement in all cases. In general, however, users should be careful when using copyrighted content without the permission of those who created it. It is our policy to respond to notices of alleged infringement that comply with the Digital Millennium Copyright Act ("DMCA").
That's from a legal perspective. However, Stack Overflow (both the community and the company) believe authors be given additional courtesies:
- It should be clear what content is being copied,
- The original source should be credited, and
- A link to the original should be provided.
We still need to clarify the relationship with official documentation.
Before the public beta, I talked with several companies who were interested in using Documentation for their products. (You can see some of their logos on the launch announcement.) One question most everyone had was how official documentation (created by the team responsible for the technology being documented) should interact with Stack Overflow Documentation. We still don't have a good answer.
On the one hand, we don't want to duplicate all the hard work of maintaining documentation. And on the other, we'd love to "provide product developers with a documentation platform that is smoother and easier to maintain than their own web sites or GitHub readmes". On the gripping hand, user-contributed content doesn't mesh well with official content. Many companies asked for some way to lock out community edits or privilege employee edits.
In our early research into where to take Documentation next suggests developers appreciate the depth and authority of official references. But they would also like to have access to knowledge hard-won by experience. We don't yet know what strategy we will pursue but we are looking for ways to connect our Documentation with other resources. Perhaps we could take a page from Google results and embed previews of other documentation (and answers). We still need to do more research and user interviews, however.
At any rate, you can, if needed, quote outside material and properly reference it. Or you can just link to it. Or you can rewrite in your own words. In the future we plan to provide better ways to help readers locate and understand authoritative documentation.