mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-20 20:25:37 +08:00
[sphinx] Fix version import
This commit is contained in:
parent
b2e6a1c14c
commit
aaa399d2f6
@ -44,8 +44,8 @@ copyright = u'2014, Ricardo Garcia Gonzalez'
|
|||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
import youtube_dl
|
from youtube_dl.version import __version__
|
||||||
version = youtube_dl.__version__
|
version = __version__
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = version
|
release = version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user