Update documentation, regenerate some, and preparation for release 4.0.0 stable

Some things are still missing to work fine (can't generate some docbook from template)