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

Update API and Docs compiler

This commit is contained in:
Dan
2018-01-08 07:15:38 +01:00
parent 1cbb34f9b5
commit 1ef3fec314
2 changed files with 6 additions and 10 deletions

View File

@@ -95,8 +95,8 @@ def generate(source_path, base):
module = "pyrogram.api.{}".format(base)
with open(destination + "/" + inner_path, "w") as f:
# if k == base:
# f.write(":tocdepth: 1\n\n")
if k == base:
f.write(":tocdepth: 1\n\n")
f.write(
toctree.format(