Skip to content

Commit

Permalink
Get version for docs from ufl.__version__.
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed Nov 4, 2015
1 parent 7be2dad commit 4f16495
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
import ufl
ufl_version = ufl.__version__
# The short X.Y version.
version = '1.7dev'
version = ufl_version
# The full version, including alpha/beta/rc tags.
release = '1.7dev'
release = ufl_version

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

0 comments on commit 4f16495

Please sign in to comment.