- Clone the repository:
git clone https://github.com/null-nick/pyrogram- Generate the files to build the docs:
python3 setup.py generate --api && python3 setup.py generate --docs- Install Pandoc, then go into the docs folder and install the requirements:
apt install pandoc && cd docs && pip install -r requirements.txt- HTML Docs:
make html- PDF Docs:
apt install latexmk && make latexpdf