Skip to content

Commit

Permalink
Documentation cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
delivrance committed Apr 24, 2022
1 parent 3f0f2da commit 1ebc704
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions compiler/docs/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
import re
import shutil

import pyrogram

HOME = "compiler/docs"
DESTINATION = "docs/source/telegram"
PYROGRAM_API_DEST = "docs/source/api"
Expand Down Expand Up @@ -114,7 +112,6 @@ def build(path, level=0):
toctree.format(
title=k.title(),
title_markup="=" * len(k),
layer=pyrogram.raw.all.layer,
module=module,
entities="\n ".join(entities)
)
Expand Down
2 changes: 0 additions & 2 deletions compiler/docs/template/toctree.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{title}
{title_markup}

Layer {layer}

.. module:: {module}

.. toctree::
Expand Down
2 changes: 0 additions & 2 deletions compiler/errors/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "."
Expand Down

0 comments on commit 1ebc704

Please sign in to comment.