Documentation cleanup

This commit is contained in:
Dan 2022-04-24 11:56:07 +02:00
parent 3f0f2da4f0
commit 1ebc704146
3 changed files with 0 additions and 7 deletions

View File

@ -21,8 +21,6 @@ import os
import re
import shutil
import pyrogram
HOME = "compiler/docs"
DESTINATION = "docs/source/telegram"
PYROGRAM_API_DEST = "docs/source/api"
@ -114,7 +112,6 @@ 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)
)

View File

@ -1,8 +1,6 @@
{title}
{title_markup}
Layer {layer}
.. module:: {module}
.. toctree::

View File

@ -133,8 +133,6 @@ def start():
with open("{}/all.py".format(DEST), "w", encoding="utf-8") as f:
f.write(re.sub("{count}", str(count), content))
print("Compiling Errors: [100%]")
if "__main__" == __name__:
HOME = "."