X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=doc-ru%2Fconf.py;fp=doc-ru%2Fconf.py;h=0aab948d356de3e8dc12762abccb6e005b014af9;hb=4373ad1f21b6a48a55b5ae3b7e48fdde0a521356;hp=7be00e850feb87d4312eb4c1edad32fba0f6de20;hpb=a1816cc74a6052779bfb68c01a24f2709c9f08a1;p=m_librarian.git diff --git a/doc-ru/conf.py b/doc-ru/conf.py index 7be00e8..0aab948 100644 --- a/doc-ru/conf.py +++ b/doc-ru/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])