Skip to content
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.

Commit

Permalink
doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
irmen committed Jul 2, 2017
1 parent f596198 commit 9705492
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .readthedocs.yml
@@ -0,0 +1,3 @@
# tale is 3.5+ only
python:
version: 3.5
9 changes: 6 additions & 3 deletions docs/source/conf.py
Expand Up @@ -17,7 +17,6 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('../..'))
import tale


# -- General configuration -----------------------------------------------------
Expand Down Expand Up @@ -50,9 +49,13 @@
# built documents.
#
# The short X.Y version.
version = tale.__version__
for ver_line in open("../../tale/__init__.py").readlines():
if ver_line.startswith("__version__"):
tale_version = ver_line.strip().partition("=")[2].strip(' "\'')
break
version = tale_version
# The full version, including alpha/beta/rc tags.
release = tale.__version__
release = tale_version

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down

0 comments on commit 9705492

Please sign in to comment.