1. Contracts and evidence.
In its widest sense documentation means written evidence, which may or may not have legal effect.
2. Financial contracts.
In the context of financial contracts - such as loan agreements - the documentation is the written form of the contract.
Bonds are documented in a bond indenture.