From 20ec707aa8fadcb7b439c0cc9ad7be3d0ab738c0 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 18 Apr 2018 20:55:18 +0200 Subject: [PATCH] Compile docs when installing --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 7a8e0132..ef703729 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,7 @@ from sys import argv from setuptools import setup, find_packages from compiler.api import compiler as api_compiler +from compiler.docs import compiler as docs_compiler from compiler.error import compiler as error_compiler @@ -32,6 +33,7 @@ def read(file: str) -> list: if len(argv) > 1 and argv[1] != "sdist": api_compiler.start() + docs_compiler.start() error_compiler.start() with open("pyrogram/__init__.py", encoding="utf-8") as f: