update doc, move sponsor to top of the page

This commit is contained in:
hathach
2023-11-24 19:11:28 +07:00
parent 031be18e26
commit 0e12d36531
5 changed files with 118 additions and 95 deletions

View File

@@ -13,9 +13,9 @@ TOP = Path(__file__).parent.parent.resolve()
def gen_deps_doc():
deps_rst = Path(TOP) / "docs/reference/dependencies.rst"
df = pd.DataFrame.from_dict(deps_all, orient='index', columns=['Commit', 'Project'])
df = df[['Project', 'Commit']].sort_index()
df = df.rename_axis("Path")
df = pd.DataFrame.from_dict(deps_all, orient='index', columns=['Repo', 'Commit', 'Required by'])
df = df[['Repo', 'Commit', 'Required by']].sort_index()
df = df.rename_axis("Local Path")
outstr = f"""\
************