mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-23 02:17:21 +00:00
Don't show version on docs
This commit is contained in:
parent
1ef3fec314
commit
3d8faa125a
@ -23,7 +23,7 @@ import sys
|
||||
sys.path.insert(0, os.path.abspath('../..'))
|
||||
|
||||
# Import after sys.path.insert() to avoid issues
|
||||
from pyrogram import __version__
|
||||
# from pyrogram import __version__
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
||||
@ -67,9 +67,9 @@ author = 'Dan Tès'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = "version " + __version__
|
||||
# version = "version " + __version__
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = version
|
||||
# release = version
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
@ -107,7 +107,8 @@ html_theme_options = {
|
||||
'canonical_url': "https://docs.pyrogram.ml/",
|
||||
'collapse_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
|
||||
|
Loading…
x
Reference in New Issue
Block a user