Skip to content

Commit

Permalink
update .readthedocs.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
toshas committed Jun 15, 2021
1 parent 7121906 commit cf45bf0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

import os
import sys
sys.path.insert(0, os.path.abspath('../../../'))
three_up = os.path.abspath(os.path.join('..', '..', '..'))
sys.path.insert(0, three_up)

from recommonmark.parser import CommonMarkParser

Expand All @@ -23,8 +24,12 @@
copyright = '2021, Anton Obukhov'
author = 'Anton Obukhov'

with open(os.path.join(three_up, 'torch_fidelity', 'version.py')) as f:
version_pycode = f.read()
exec(version_pycode)

# The full version, including alpha/beta/rc tags
release = '0.3.0'
release = __version__


# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit cf45bf0

Please sign in to comment.