Update documentation to version 4
Merge tag '4.0'