DOC: Switch to RTD theme & refactor doc rendering