2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-31 06:16:06 +00:00

Documentation improvements

This commit is contained in:
Dan
2022-04-24 11:56:07 +02:00
parent d14665ad96
commit 8af17c3ed5
7 changed files with 16 additions and 25 deletions

View File

@@ -21,6 +21,8 @@ import os
import re
import shutil
import pyrogram
HOME = "compiler/docs"
DESTINATION = "docs/source/telegram"
PYROGRAM_API_DEST = "docs/source/api"
@@ -112,6 +114,7 @@ def generate(source_path, base):
toctree.format(
title=k.title(),
title_markup="=" * len(k),
layer=pyrogram.raw.all.layer,
module=module,
entities="\n ".join(entities)
)