Skip to content

Commit 20ec707

Browse files
committed
Compile docs when installing
1 parent 36b1058 commit 20ec707

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from setuptools import setup, find_packages
2323

2424
from compiler.api import compiler as api_compiler
25+
from compiler.docs import compiler as docs_compiler
2526
from compiler.error import compiler as error_compiler
2627

2728

@@ -32,6 +33,7 @@ def read(file: str) -> list:
3233

3334
if len(argv) > 1 and argv[1] != "sdist":
3435
api_compiler.start()
36+
docs_compiler.start()
3537
error_compiler.start()
3638

3739
with open("pyrogram/__init__.py", encoding="utf-8") as f:

0 commit comments

Comments
 (0)