diff options
Diffstat (limited to 'lib/spack/docs/conf.py')
-rw-r--r-- | lib/spack/docs/conf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py index 18779c5d0c..c269c7ee27 100644 --- a/lib/spack/docs/conf.py +++ b/lib/spack/docs/conf.py @@ -192,9 +192,9 @@ copyright = u'2013-2018, Lawrence Livermore National Laboratory.' # built documents. # # The short X.Y version. -version = str(spack.spack_version.up_to(2)) +version = '.'.join(str(s) for s in spack.spack_version_info[:2]) # The full version, including alpha/beta/rc tags. -release = str(spack.spack_version.up_to(2)) +release = spack.spack_version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. |