diff --git a/docs/releases.py b/docs/scripts/releases.py similarity index 98% rename from docs/releases.py rename to docs/scripts/releases.py index 9b7388f9..ce8ab385 100644 --- a/docs/releases.py +++ b/docs/scripts/releases.py @@ -24,7 +24,7 @@ import pypandoc import requests URL = "https://api.github.com/repos/pyrogram/pyrogram/releases" -DEST = Path("source/releases") +DEST = Path("../source/releases") INTRO = """ Release Notes ============= diff --git a/docs/sitemap.py b/docs/scripts/sitemap.py similarity index 99% rename from docs/sitemap.py rename to docs/scripts/sitemap.py index 4b08f218..cc3da354 100644 --- a/docs/sitemap.py +++ b/docs/scripts/sitemap.py @@ -66,7 +66,7 @@ with open("sitemap.xml", "w") as f: urls.append((path, now(), *dirs[folder])) - search("source") + search("../source") urls.sort(key=lambda x: x[3], reverse=True)