Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update conf.py for readthedocs #4

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import os
import sys

import pytorch3d # isort: skip

import mock
from recommonmark.parser import CommonMarkParser
from recommonmark.states import DummyStateMachine
Expand Down Expand Up @@ -55,11 +53,6 @@ def run_role(self, name, options=None, content=None):
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:
Expand Down Expand Up @@ -87,6 +80,9 @@ def run_role(self, name, options=None, content=None):
copyright = "2019, facebookresearch"
author = "facebookresearch"

# The short X.Y version
version = "v0.1"

# The full version, including alpha/beta/rc tags
release = "v0.1"

Expand Down