mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Documentation cleanup
This commit is contained in:
parent
3f0f2da4f0
commit
1ebc704146
3 changed files with 0 additions and 7 deletions
|
|
@ -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)
|
||||
)
|
||||
|
|
|
|||
2
compiler/docs/template/toctree.txt
vendored
2
compiler/docs/template/toctree.txt
vendored
|
|
@ -1,8 +1,6 @@
|
|||
{title}
|
||||
{title_markup}
|
||||
|
||||
Layer {layer}
|
||||
|
||||
.. module:: {module}
|
||||
|
||||
.. toctree::
|
||||
|
|
|
|||
|
|
@ -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 = "."
|
||||
|
|
|
|||
Loading…
Reference in a new issue