sphinx: revert to per-directory-doctress to improve stability