From 3d8faa125a160c49c7d1fe6f63323b86eb43a8db Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 8 Jan 2018 07:15:58 +0100 Subject: [PATCH] Don't show version on docs --- docs/source/conf.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 75b2474e..33933e4f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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