Fix generation of docs on RTFD