update conf.py for readthedocs

Summary: Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/4

Differential Revision: D19546949

Pulled By: nikhilaravi

fbshipit-source-id: ce30785322a60c408fd6aa2f1cd3eb5d07015c7b
This commit is contained in:
Nikhila Ravi 2020-01-23 15:54:04 -08:00 committed by Facebook Github Bot
parent dbf06b504b
commit 349a499f33

View File

@ -16,8 +16,6 @@
import os
import sys
import pytorch3d # isort: skip
import mock
from recommonmark.parser import CommonMarkParser
from recommonmark.states import DummyStateMachine
@ -55,11 +53,6 @@ DEPLOY = os.environ.get("READTHEDOCS") == "True"
needs_sphinx = "1.7"
# The short X.Y version
version = pytorch3d.__version__
# The full version, including alpha/beta/rc tags
release = version
try:
import torch # noqa
except ImportError:
@ -87,6 +80,9 @@ project = "PyTorch3D"
copyright = "2019, facebookresearch"
author = "facebookresearch"
# The short X.Y version
version = "v0.1"
# The full version, including alpha/beta/rc tags
release = "v0.1"