Fix api documentation. Load ReadTheDocs theme if doc is build locally