From ef49a4df1cc16501f7e7eaaa9073ced83c660669 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 6 Jan 2018 13:55:22 +0100 Subject: [PATCH 1/2] Update README.rst --- README.rst | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/README.rst b/README.rst index 769b554a..71899ac9 100644 --- a/README.rst +++ b/README.rst @@ -117,7 +117,6 @@ Usage That's all you need for getting started with Pyrogram. For more detailed information, please refer to the documentation: -- Wiki: `Introduction`_. - Docs: https://docs.pyrogram.ml. Development @@ -135,9 +134,7 @@ functions. Documentation ============= -- Pyrogram's API documentation at https://docs.pyrogram.ml. -- Guides and examples can be found on the `Wiki`_. - +- The entire Pyrogram's documentation resides at https://docs.pyrogram.ml. Contribution ============ @@ -172,8 +169,6 @@ License .. _`Layer 74`: compiler/api/source/main_api.tl -.. _`Wiki`: https://github.com/pyrogram/pyrogram/wiki - .. _`your own`: https://github.com/pyrogram/pyrogram/wiki/Getting-Started#api-keys .. _`Introduction`: https://github.com/pyrogram/pyrogram/wiki/Getting-Started @@ -205,10 +200,6 @@ License Download • - - Wiki - - • Documentation From b07c8f130f7411bf5348678379056631f0df11b1 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 6 Jan 2018 13:57:33 +0100 Subject: [PATCH 2/2] Disable docs source generation on setup --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index d8a56dcc..4aeea35e 100644 --- a/setup.py +++ b/setup.py @@ -23,12 +23,13 @@ from setuptools import setup from compiler.api import compiler as api_compiler from compiler.error import compiler as error_compiler -from compiler.docs import compiler as docs_compiler + +# from compiler.docs import compiler as docs_compiler if len(argv) > 1 and argv[1] != "sdist": api_compiler.start() error_compiler.start() - docs_compiler.start() + # docs_compiler.start() # PyPI doesn't like raw html with open("README.rst", encoding="UTF-8") as f: