diff --git a/docs/conf.py b/docs/conf.py index a3bcc35..ea4fabf 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -11,7 +11,7 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys, os +import sys, os, pkg_resources # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -48,9 +48,9 @@ copyright = u'2011, MaxM' # built documents. # # The short X.Y version. -version = '3.0' +version = pkg_resources.get_distribution('icalendar').version # The full version, including alpha/beta/rc tags. -release = '3.0dev' +release = version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.