Extend base template of rtd