2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-24 19:07:57 +00:00

Don't show version on docs

This commit is contained in:
Dan 2018-01-08 07:15:58 +01:00
parent 1ef3fec314
commit 3d8faa125a

View File

@ -23,7 +23,7 @@ import sys
sys.path.insert(0, os.path.abspath('../..')) sys.path.insert(0, os.path.abspath('../..'))
# Import after sys.path.insert() to avoid issues # Import after sys.path.insert() to avoid issues
from pyrogram import __version__ # from pyrogram import __version__
# -- General configuration ------------------------------------------------ # -- General configuration ------------------------------------------------
@ -67,9 +67,9 @@ author = 'Dan Tès'
# built documents. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = "version " + __version__ # version = "version " + __version__
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = version # release = version
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.
@ -107,7 +107,8 @@ html_theme_options = {
'canonical_url': "https://docs.pyrogram.ml/", 'canonical_url': "https://docs.pyrogram.ml/",
'collapse_navigation': False, 'collapse_navigation': False,
'sticky_navigation': False, 'sticky_navigation': False,
'logo_only': True 'logo_only': True,
'display_version': False
} }
# The name of an image file (relative to this directory) to place at the top # The name of an image file (relative to this directory) to place at the top