Move docs scripts into a dedicated folder
This commit is contained in:
parent
441b89a8ac
commit
77ecdd21fb
@ -24,7 +24,7 @@ import pypandoc
|
|||||||
import requests
|
import requests
|
||||||
|
|
||||||
URL = "https://api.github.com/repos/pyrogram/pyrogram/releases"
|
URL = "https://api.github.com/repos/pyrogram/pyrogram/releases"
|
||||||
DEST = Path("source/releases")
|
DEST = Path("../source/releases")
|
||||||
INTRO = """
|
INTRO = """
|
||||||
Release Notes
|
Release Notes
|
||||||
=============
|
=============
|
@ -66,7 +66,7 @@ with open("sitemap.xml", "w") as f:
|
|||||||
urls.append((path, now(), *dirs[folder]))
|
urls.append((path, now(), *dirs[folder]))
|
||||||
|
|
||||||
|
|
||||||
search("source")
|
search("../source")
|
||||||
|
|
||||||
urls.sort(key=lambda x: x[3], reverse=True)
|
urls.sort(key=lambda x: x[3], reverse=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user