added documentation file when building in release mode.