X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=doc%2Fconf.py;h=b6b2ff3c3049528903ebfd34a755d6556be559e0;hb=4373ad1f21b6a48a55b5ae3b7e48fdde0a521356;hp=7c16bc614a9a0b43185a47088977d86325634386;hpb=a1816cc74a6052779bfb68c01a24f2709c9f08a1;p=m_librarian.git diff --git a/doc/conf.py b/doc/conf.py index 7c16bc6..b6b2ff3 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -50,6 +50,7 @@ copyright = u'2016, Oleg Broytman' # |version| and |release|, also used in various other places throughout the # built documents. # +sys.path.insert(0, os.path.abspath('..')) from m_librarian.__version__ import __version__ # The short X.Y version. version = '.'.join(__version__.split('.')[:2])